Joint definitions are used to construct joints.

Hierarchy (View Summary)

Constructors

Properties

bodyA: b2Body

The first attached body.

bodyB: b2Body

The second attached body.

collideConnected: boolean

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

type: number

The joint type is set automatically for concrete joint types.

userData: any

Use this to attach application specific data to your joints.