Replies: 1 comment
-
Hey, any update here? I found a related forum discussion: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The return value of
btDynamicsWorld::stepSimulation()
is not documented, but I assumed it returns the number of substeps performed, so it can be used for other calculations.However, in implementation:
btDiscreteDynamicsWorld::stepSimulation()
(in src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp) it returnsnumSimulationSubSteps
while it should returnclampedSimulationSteps
.I encountered this problem when playing with the examples. In GUI versions of examples, the
deltaTime
is 0.1 whilemaxSubSteps
takes the default value of 1. So clamping occurs every time.So either:
Beta Was this translation helpful? Give feedback.
All reactions