sim.getObjectType

Retrieves the type of an object

Synopsis

int objectType = sim.getObjectType(int objectHandle) int objectType = sim.getObjectType(int objectHandle)

Arguments

  • objectHandle: handle of the object

Return values

  • objectType: type of the object (sim.sceneobject_shape, sim.sceneobject_joint, etc. (see the object types)