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
    • sim.joint_prismatic
    • sim.joint_spherical