Regular API function

simGetRealTimeSimulation / sim.getRealTimeSimulation

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