Game Logic: setPhysicsTicRate

setPhysicsTicRate(ticRate)
  • Sets how many times per second the scene's physics are being updated.

ticRate:

  • Type: float number
Note:
  • The default physics tic rate is 60.0
Sample Code

################## set the physics tic rate
  

# import bge
import bge

# set the physics tic rate
bge.logic.setPhysicsTicRate(120.00)