pub fn clear_forces_and_impulses(
forces: Query<'_, '_, (&'static mut ExternalForce, &'static mut ExternalTorque, &'static mut ExternalImpulse, &'static mut ExternalAngularImpulse), Or<(Changed<ExternalForce>, Changed<ExternalTorque>, Changed<ExternalImpulse>, Changed<ExternalAngularImpulse>)>>,
)
Expand description
Responsible for clearing forces and impulses on bodies.
Runs in PhysicsSchedule
, after PhysicsStepSet::SpatialQuery
.