Hi Corona physics users/fans,
I’d like to mention that two new physics APIs have been added starting in daily build 2017.3073 and later:
- physics.setTimeScale() - https://docs.coronalabs.com/api/library/physics/setTimeScale.html
- physics.getTimeScale() - https://docs.coronalabs.com/api/library/physics/getTimeScale.html
These functions allow you to slow down or speed up the physics simulation via a multiplier. This may be useful if you want to simulate things in exagerrated “fast forward” motion, or show a physics “replay” in slow motion… or to just speed up or slow down your entire physics-based game in general.
Have fun!
Brent