Description
|
Retrieves the type of an object
|
C synopsis
|
simInt simGetObjectType(simInt objectHandle) |
C parameters |
objectHandle: handle of the object
|
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
|
number objectType=sim.getObjectType(number objectHandle)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|