Regular API function

simGetSimulationTime

Description Retrieves the current simulation time
C synopsis simFloat simGetSimulationTime()
C parameters
None
C return value
negative value (-1.0) if operation not successful, otherwise the simulation time
Lua synopsis number simulationTime=getSimulationTime()
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page