sim.handleDynamics
Handles the dynamics functionality in a scene
Synopsis
int result = sim.handleDynamics(float deltaTime)
int result = sim.handleDynamics(float deltaTime)
Arguments
deltaTime
: simulation time step, i.e.
sim.getSimulationTimeStep
()
Return values
result
: 0 if the sepcified physics engine could not be found, otherwise the number of calculation steps performed by the physics engine.