simIsDynamicallyEnabled

Checks whether a scene object is dynamically enabled, i.e. is being handled and simulated by the physics engine. Note that until the physics engine has parsed the scene in the first simulation step (i.e. the first time sim.handleDynamics is called), no object will be dynamically enabled

C++ synopsis

int simIsDynamicallyEnabled(int objectHandle)

Arguments

  • ojectHandle: handle of the scene object

Return

  • -1 if operation was not successful, 0 if the object is not dynamically enabled, 1 if the object is dynamically enabled.