Skip to main content

integrate_body

Function integrate_body 

Source
pub fn integrate_body<S>(space: &S, body: &mut RigidBody<S>, dt: f32)
where S: PhysicsSpace, S::Vector: Mul<f32, Output = S::Vector>,
Expand description

Velocity is transported to the new position before orientation advances.