Skip to main content

update_with

Function update_with 

Source
pub fn update_with(
    world: &mut World,
    time: f32,
    dt: f32,
    simulate: bool,
    ground: Option<GroundQuery<'_>>,
)
Expand description

update with physics: ground plants the feet (crate::ik::CharacterIk); ragdolls (crate::ragdoll::Ragdoll) run only when simulate is true. Called by the runtime after the physics steps of a frame.