Reference TGrooveJoint
Declared in Codebot.Physics.pas on line 580
TGrooveJoint allows an anchor on the second body to slide along a groove on the first body
TGrooveJoint = record
public
Ref: cpConstraint;
class operator Implicit(const Value: TGrooveJoint): cpConstraint; inline;
class operator Implicit(const Value: cpConstraint): TGrooveJoint; inline;
{ The groove in the body coordinates of the first body }
property GrooveA: TVec2 read GetGrooveA write SetGrooveA;
property GrooveB: TVec2 read GetGrooveB write SetGrooveB;
{ The anchor in the body coordinates of the second body }
property PinB: TVec2 read GetPinB write SetPinB;
end;See also
TVec2 in Codebot.Geometry.pas