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§

source

fn get_climbing_mode(&self) -> CapsuleClimbingMode

Get the climbing mode of the capsule controller.

source

fn get_height(&self) -> f32

Get the height of the capsule.

source

fn get_radius(&self) -> f32

Get the radius of the capsule.

source

fn set_climbing_mode(&mut self, mode: CapsuleClimbingMode) -> bool

Set the climbing mode of the capsule controller.

source

fn set_height(&mut self, height: f32) -> bool

Set the height of the capsule.

source

fn set_radius(&mut self, radius: f32) -> bool

Set the radius of the capsule.

Implementors§