Control Minie's update speed

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

2 Likes

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 
5 Likes

Thanks, that’s perfect. :+1:

2 Likes