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_subtype, sim.joint_prismatic_subtype or sim.joint_spherical_subtype), or -1 if operation was not successful