Type Function Library physics.* Return value none Revision 2017.3109 Keywords physics, frame-based physics, time-based physics, time scale See also physics.getTimeScale() physics.setTimeStep()
The current public release is 2017.3068. This function is only available in daily build 2017.3073 or later.
Adjusts the physics simulation time flow with a multiplier.
physics.setTimeScale( scale )
Number. Value at which to multiply the physics "time step" on each update.
physics.setTimeScale( 0.75 ) -- Run physics simulation at 3/4 of normal speed