Trait physx::controller::CapsuleController
source · pub trait CapsuleController: Class<PxCapsuleController> + Controller {
// Provided methods
fn get_climbing_mode(&self) -> CapsuleClimbingMode { ... }
fn get_height(&self) -> f32 { ... }
fn get_radius(&self) -> f32 { ... }
fn set_climbing_mode(&mut self, mode: CapsuleClimbingMode) -> bool { ... }
fn set_height(&mut self, height: f32) -> bool { ... }
fn set_radius(&mut self, radius: f32) -> bool { ... }
}
Provided Methods§
sourcefn get_climbing_mode(&self) -> CapsuleClimbingMode
fn get_climbing_mode(&self) -> CapsuleClimbingMode
Get the climbing mode of the capsule controller.
sourcefn get_height(&self) -> f32
fn get_height(&self) -> f32
Get the height of the capsule.
sourcefn get_radius(&self) -> f32
fn get_radius(&self) -> f32
Get the radius of the capsule.
sourcefn set_climbing_mode(&mut self, mode: CapsuleClimbingMode) -> bool
fn set_climbing_mode(&mut self, mode: CapsuleClimbingMode) -> bool
Set the climbing mode of the capsule controller.
sourcefn set_height(&mut self, height: f32) -> bool
fn set_height(&mut self, height: f32) -> bool
Set the height of the capsule.
sourcefn set_radius(&mut self, radius: f32) -> bool
fn set_radius(&mut self, radius: f32) -> bool
Set the radius of the capsule.