I tried changing the frame rate using
cc.game.setFrameRate(30);
and found that forces applied changed too. Looking into the source I saw time accumulation had been commented out since many versions ago
Can you describe more about this?
As the comment says: accumulator will make system slower and slower.
Sure, here is an example.
The red ball is a replay of the previous shot from the opponent.
cc.game.setFrameRate(60);
cc.game.setFrameRate(5);
In both videos the exact same impulse force is applied.
Add an option enabledAccumulator
to let you choose which mode to call the physics step.
thanks! that fixed it