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
C return value
negative value (-1.0) if operation not successful, otherwise the simulation time step
Lua synopsis number timeStep=getSimulationTimeStep()
Lua parameters
Same as C-function
Lua return values
Same as C-function
Remote API equiv.
B0-based remote API: simxGetSimulationTimeStep
Legacy remote API: -

All regular API functions on one page