Type Function Library physics.* Return value none Revision Release 2021.3642 Keywords physics, frame-based physics, time-based physics, time scale See also physics.getTimeScale() physics.setTimeStep()
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