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