Interface GearConstraintOptions



angle?: number

Relative angle between the bodies. Will be set to the current angle between the bodies (the gear ratio is accounted for).

collideConnected?: boolean

Set to true if you want the connected bodies to collide.

maxTorque?: number

Maximum torque to apply.

ratio?: number

Gear ratio.

wakeUpBodies?: boolean

Whether the constraint should wake up bodies when connected