Trait physx::controller::CapsuleController [−][src]
pub trait CapsuleController: Class<PxCapsuleController> + Controller { 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
fn get_climbing_mode(&self) -> CapsuleClimbingMode
fn get_climbing_mode(&self) -> CapsuleClimbingMode
Get the climbing mode of the capsule controller.
fn get_height(&self) -> f32
fn get_height(&self) -> f32
Get the height of the capsule.
fn get_radius(&self) -> f32
fn get_radius(&self) -> f32
Get the radius of the capsule.
fn 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.
fn set_height(&mut self, height: f32) -> bool
fn set_height(&mut self, height: f32) -> bool
Set the height of the capsule.
fn set_radius(&mut self, radius: f32) -> bool
fn set_radius(&mut self, radius: f32) -> bool
Set the radius of the capsule.