Download Now

    Reference TRatchetJoint

    Declared in Codebot.Physics.pas on line 681

    TRatchetJoint works like a socket wrench
      TRatchetJoint = record
      public
        Ref: cpConstraint;
        class operator Implicit(const Value: TRatchetJoint): cpConstraint; inline;
        class operator Implicit(const Value: cpConstraint): TRatchetJoint; inline;
        { The angle of the ratchet }
        property Angle: Float read GetAngle write SetAngle;
        { The angle the steps of the ratchet are offset by }
        property Phase: Float read GetPhase write SetPhase;
        { The distance between clicks }
        property Ratchet: Float read GetRatchet write SetRatchet;
      end;

    See also

    Float in Codebot.System.pas