simGetJointType

Retrieves the type of a joint

C++ synopsis

int simGetJointType(int objectHandle)

Arguments

  • objectHandle: handle of the joint

Return

  • Type of the joint (sim.joint_revolute, sim.joint_prismatic or sim.joint_spherical), or -1 if operation was not successful