Regular API function

simHandleDynamics / sim.handleDynamics

Description Handles the dynamics functionality in a scene. This function is not available to add-ons.
C/C++
synopsis
simInt simHandleDynamics(simFloat deltaTime)
C/C++
parameters
deltaTime: the time that passed since the command was called last. Typically simGetSimulationTimeStep()
C/C++
return value
-1 if operation was not successful. 0 if the sepcified physics engine could not be found, otherwise, the number of calculation steps performed by the physics engine.
Lua
synopsis
int result=sim.handleDynamics(float deltaTime)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int result=sim.handleDynamics(float deltaTime)

<