Download Now

    Reference TPivotJoint

    Declared in Codebot.Physics.pas on line 561

    TPivotJoint allows two bodies to rotate around a shared point
      TPivotJoint = record
      public
        Ref: cpConstraint;
        class operator Implicit(const Value: TPivotJoint): cpConstraint; inline;
        class operator Implicit(const Value: cpConstraint): TPivotJoint; inline;
        { Anchors in body coordinates }
        property PinA: TVec2 read GetPinA write SetPinA;
        property PinB: TVec2 read GetPinB write SetPinB;
      end;

    See also

    TVec2 in Codebot.Geometry.pas