Regular API function

simHandleDynamics / sim.handleDynamics

Description Handles the dynamics functionality in a scene. This function is not available to add-ons.
C synopsis simInt simHandleDynamics(simFloat deltaTime)
C parameters
deltaTime: the time that passed since the command was called last. Typically simGetSimulationTimeStep()
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