Regular API function


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 number result=simHandleDynamics(number deltaTime)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page