Game Logic: setClockTime

setClockTime(float)
  • Set the next value of the BGE simulation time in seconds

float:
  • float number

 

 

Sample Code

################## set the next BGE simulation time
  

# import bge
import bge

# set the next simulation time
bge.logic.setClockTime(1.5)