math docs
    Preparing search index...

    Function setBallJoint

    • Sets a ball-joint constraint: the bone may rotate within a cone of rotor radians about the direction of the bone before it.

      Parameters

      • joint: Joint3

        the joint to configure

      • rotor: number

        the half-angle of the cone in radians, clamped to [0, PI]

      Returns Joint3

      the joint