sim.isDynamicallyEnabled

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

Synopsis

bool dynamicallyEnabled = sim.isDynamicallyEnabled(int objectHandle) bool dynamicallyEnabled = sim.isDynamicallyEnabled(int objectHandle)

Arguments

  • ojectHandle: handle of the scene object

Return values

  • dynamicallyEnabled: whether the object is dynamically enabled