Trait avian3d::collision::collider::ScalableCollider
source · pub trait ScalableCollider: AnyCollider {
// Required methods
fn scale(&self) -> Vector;
fn set_scale(&mut self, scale: Vector, detail: u32);
// Provided method
fn scale_by(&mut self, factor: Vector, detail: u32) { ... }
}
Expand description
A trait for colliders that support scaling.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.