Regular API function

simIsDynamicallyEnabled / sim.isDynamicallyEnabled

Description 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/C++
synopsis
simInt simIsDynamicallyEnabled(simInt objectHandle)
C/C++
parameters
ojectHandle: handle of the scene object. See also sim.getObject.
C/C++
return value
-1 if operation was not successful, 0 if the object is not dynamically enabled, 1 if the object is dynamically enabled.
Lua synopsis bool dynamicallyEnabled=sim.isDynamicallyEnabled(int objectHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart
Python synopsis bool dynamicallyEnabled=sim.isDynamicallyEnabled(int objectHandle)