2021-05-11 18:30:36 -07:00

1.7 KiB
Raw Permalink Blame History

Planck.js API Doc › Globals › FrictionJointOpt

Interface: FrictionJointOpt

Friction joint definition.

Hierarchy

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 maxForce

• maxForce? : number

Defined in src/dynamics/joint/FrictionJoint.ts:46

The maximum friction force in N.


Optional maxTorque

• maxTorque? : number

Defined in src/dynamics/joint/FrictionJoint.ts:50

The maximum friction torque in N-m.


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.