Regular API function

simGetJointType / sim.getJointType

Description Retrieves the type of a joint
C synopsis simInt simGetJointType(simInt objectHandle)
C parameters
objectHandle: handle of the joint
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