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 synopsis simFloat simGetSimulationTimeStep()
C parameters
None
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
Remote API equiv.
B0-based remote API: simxGetSimulationTimeStep
Legacy remote API: -