Hey,
Is there any mechanism in Minie that controls the speed at which physical objects update? Like, for making things move in slow motion?
Thanks
Hey,
Is there any mechanism in Minie that controls the speed at which physical objects update? Like, for making things move in slow motion?
Thanks
If you use BulletAppState
, you can reduce the simulation speed (default=1):
bulletAppState.setSpeed(0.1f); // simulate at 1/10th normal speed
If that results in jerky motion, reduce the simulation time step (default=0.0167 sec):
physicsSpace.setAccuracy(0.002f); // 500 steps per second
Thanks, that’s perfect.