Regular API function

simGetJointType / sim.getJointType

Description Retrieves the type of a joint
C/C++
synopsis
simInt simGetJointType(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the joint
C/C++
return value
Type of the joint (sim.joint_revolute_subtype, sim.joint_prismatic_subtype or sim.joint_spherical_subtype), or -1 if operation was not successful
Lua
synopsis
int jointType=sim.getJointType(int objectHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
int jointType=sim.getJointType(int objectHandle)