Appearance
Interface: FrictionJointDef
Friction 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
localAnchorA
localAnchorA:
Vec2Value
The local anchor point relative to bodyA's origin.
localAnchorB
localAnchorB:
Vec2Value
The local anchor point relative to bodyB's origin.
maxForce?
optionalmaxForce:number
The maximum friction force in N.
Inherited from
maxTorque?
optionalmaxTorque:number
The maximum friction torque in N-m.
Inherited from
style?
optionalstyle:Style
Styling for dev-tools.
Inherited from
userData?
optionaluserData:any
Use this to attach application specific data to your joints.