Regular API function

simGetRealTimeSimulation / sim.getRealTimeSimulation

Description Indicates whether the simulation is real-time. See also simIsRealTimeSimulationStepNeeded and simAdjustRealTimeTimer.
C synopsis simInt simGetRealTimeSimulation()
C parameters
C return value
1 if simulation is real-time, 0 if it is not, and -1 if the operation was not successful
Lua synopsis number result=sim.getRealTimeSimulation()
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page