Skip to content

Interface: JointDef

Joint definitions are used to construct joints.

Extends

Extended by

Properties

bodyA

bodyA: Body

The first attached body.


bodyB

bodyB: Body

The second attached body.


collideConnected?

optional collideConnected: boolean

Set this flag to true if the attached bodies should collide.

Inherited from

JointOpt.collideConnected


style?

optional style: Style

Styling for dev-tools.

Inherited from

JointOpt.style


userData?

optional userData: any

Use this to attach application specific data to your joints.

Inherited from

JointOpt.userData