Regular API function

simGetSimulationTime / sim.getSimulationTime

Description Retrieves the current simulation time
C/C++
synopsis
simFloat simGetSimulationTime()
C/C++
parameters
C/C++
return value
negative value (-1.0) if operation not successful, otherwise the simulation time
Lua
synopsis
float simulationTime=getSimulationTime()
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
float simulationTime=getSimulationTime()