Skip to main content

step_character_3d

Function step_character_3d 

pub fn step_character_3d<const MAX_LEAVES: usize>(
    controller: &mut CharacterController,
    wish_dir: [f32; 2],
    sprint: bool,
    jump: bool,
    crouch: bool,
    dt: f32,
    bvh: &BroadphaseBvh<MAX_LEAVES>,
    shapes: &[ColliderShape3D],
    motors: &[Motor],
    body_velocities: Option<&[[f32; 3]]>,
)
Expand description

Convenience wrapper for CharacterController::step_character_3d.