Regular API function

simAdjustRealTimeTimer

Description Adjusts the real time timer of a simulation. This allows correcting for effects that might appear if for a reason or another the simAdvanceSimulationByOneStep cannot be called for some time (for instance during a resize action of the simulator window (the main thread is captured in a modal-type message loop)).
C/C++
synopsis
simInt simAdjustRealTimeTimer(simInt instanceIndex,simFloat deltaTime)
C/C++
parameters
instanceIndex: no use anymore. set to 0.
deltaTime: time correction value in seconds
C/C++
return value
-1 if operation was not successful
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis

<