Appearance
Interface: GearJointDef
Gear joint definition.
Extends
Properties
bodyA
bodyA:
Body
The first attached body.
Inherited from
bodyB
bodyB:
Body
The second attached body.
Inherited from
collideConnected?
optionalcollideConnected:boolean
Set this flag to true if the attached bodies should collide.
Inherited from
joint1
joint1:
RevoluteJoint|PrismaticJoint
The first revolute/prismatic joint attached to the gear joint.
joint2
joint2:
RevoluteJoint|PrismaticJoint
The second prismatic/revolute joint attached to the gear joint.
ratio?
optionalratio:number
The gear ratio. See GearJoint for explanation.
Inherited from
style?
optionalstyle:Style
Styling for dev-tools.
Inherited from
userData?
optionaluserData:any
Use this to attach application specific data to your joints.