Open Grimeh opened 5 years ago
Calling World.step with a timeSinceLastCalled of 0 would cause it to revert to the fixed time step behaviour. This was due to the default value of timeSinceLastCalled being 0. This change checks for undefined, as opposed to 0.
timeSinceLastCalled
undefined
maxSubSteps still has a default value of 10.
maxSubSteps
See issue #334 for more details.
Calling World.step with a
timeSinceLastCalled
of 0 would cause it to revert to the fixed time step behaviour. This was due to the default value oftimeSinceLastCalled
being 0. This change checks forundefined
, as opposed to 0.maxSubSteps
still has a default value of 10.See issue #334 for more details.