Download Now

    Reference TRotaryLimitJoint

    Declared in Codebot.Physics.pas on line 663

    TRotaryLimitJoint keeps the relative angle of two bodies within a range
      TRotaryLimitJoint = record
      public
        Ref: cpConstraint;
        class operator Implicit(const Value: TRotaryLimitJoint): cpConstraint; inline;
        class operator Implicit(const Value: cpConstraint): TRotaryLimitJoint; inline;
        { The least and the most angle allowed between the two bodies }
        property Min: Float read GetMin write SetMin;
        property Max: Float read GetMax write SetMax;
      end;

    See also

    Float in Codebot.System.pas