simGetObjectType

Retrieves the type of an object

C++ synopsis

int simGetObjectType(int objectHandle)

Arguments

  • objectHandle: handle of the object

Return

  • type of the object (sim.object_shape_type, sim.object_joint_type, etc. (see the object types) or -1 in case of error