Regular API function

simGetSimulationTimeStep / sim.getSimulationTimeStep

Description Retrieves the simulation time step (the simulation time (i.e. not real-time) that passes at each main script simulation pass). This value might not be constant for a given simulation.
C/C++
synopsis
simFloat simGetSimulationTimeStep()
C/C++
parameters
C/C++
return value
negative value (-1.0) if operation not successful, otherwise the simulation time step
Lua
synopsis
float timeStep=getSimulationTimeStep()
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
float timeStep=getSimulationTimeStep()