pub fn joint_damping<T: Joint>(
bodies: Query<'_, '_, (&RigidBody, &mut LinearVelocity, &mut AngularVelocity, &ComputedMass, Option<&Dominance>), (Without<RigidBodyDisabled>, Without<Sleeping>)>,
joints: Query<'_, '_, &T, Without<RigidBody>>,
time: Res<'_, Time>,
)
Expand description
Applies velocity corrections caused by joint damping.