Game Logic: setLogicTicRate

setLogicTicRate(ticRate)
  • Sets how many times per second the logic brick sensors are being executed.

ticRate:

  • Type:  float number
Note:
  • The default tic rate is 60 times per second
Sample Code

################## set the logic tic rate
   

# import bge
import bge
  
# Set the logic tic rate to 30 times per second
bge.logic.setLogicTicRate(30.00)