1.4 KiB
1.4 KiB
Planck.js API Doc › Globals › GearJointOpt
Interface: GearJointOpt
Gear joint definition.
Hierarchy
-
↳ GearJointOpt
Index
Properties
Properties
Optional collideConnected
• collideConnected? : boolean
Inherited from JointOpt.collideConnected
Defined in src/dynamics/Joint.ts:69
Set this flag to true if the attached bodies should collide.
Optional ratio
• ratio? : number
Defined in src/dynamics/joint/GearJoint.ts:48
The gear ratio. See GearJoint for explanation.
Optional userData
• userData? : any
Inherited from JointOpt.userData
Defined in src/dynamics/Joint.ts:64
Use this to attach application specific data to your joints.