Regular API function

simGetObjectType / sim.getObjectType

Description Retrieves the type of an object
C/C++
synopsis
simInt simGetObjectType(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the object
C/C++
return value
type of the object (sim.object_shape_type, sim.object_joint_type, etc. (see the object types) or -1 in case of error
Lua
synopsis
int objectType=sim.getObjectType(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int objectType=sim.getObjectType(int objectHandle)

<