sim.getJointType

Retrieves the type of a joint

Synopsis

int jointType = sim.getJointType(int objectHandle) int jointType = sim.getJointType(int objectHandle)

Arguments

  • objectHandle: handle of the joint

Return values

  • jointType: type of the joint:
    • sim.joint_revolute_subtype
    • sim.joint_prismatic_subtype
    • sim.joint_spherical_subtype