Reference TGearJoint
Declared in Codebot.Physics.pas on line 704
TGearJoint keeps the angular velocity ratio of two bodies constant
TGearJoint = record
public
Ref: cpConstraint;
class operator Implicit(const Value: TGearJoint): cpConstraint; inline;
class operator Implicit(const Value: cpConstraint): TGearJoint; inline;
{ The angle the two bodies are offset by }
property Phase: Float read GetPhase write SetPhase;
{ The ratio the two bodies turn at }
property Ratio: Float read GetRatio write SetRatio;
end;See also
Float in Codebot.System.pas