You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
next_frame_integration, when creating the new velocity value, takes the forces (ForceAccumulator and gravity) and then multiplies them by the delta-time to get the resulting velocity.
Gravity is constant, so it is unaffected if the delta-time is 0.
However, next_frame_integration consumes the value in ForceAccumulator, so there's no force left once time starts up.
Instead, the system should treat delta-time==0 as a full stop, with no effect on any value.
This allows you to start an object moving from the beginning of the game, by applying force when setting up the object.
It also allows you to properly pause the physics by setting dt to 0.
The text was updated successfully, but these errors were encountered:
next_frame_integration
, when creating the new velocity value, takes the forces (ForceAccumulator
and gravity) and then multiplies them by the delta-time to get the resulting velocity.Gravity is constant, so it is unaffected if the delta-time is 0.
However,
next_frame_integration
consumes the value inForceAccumulator
, so there's no force left once time starts up.Instead, the system should treat delta-time==0 as a full stop, with no effect on any value.
This allows you to start an object moving from the beginning of the game, by applying force when setting up the object.
It also allows you to properly pause the physics by setting dt to 0.
The text was updated successfully, but these errors were encountered: