Regular API function


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=simGetObjectType(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page