Class b2JointDef

Joint definitions are used to construct joints.

Hierarchy

Index

Constructor methods

Properties

Constructor methods

constructor(): b2JointDef

Constructor.

Returns

b2JointDef

Properties

public bodyA: b2Body

The first attached body.

public bodyB: b2Body

The second attached body.

public collideConnected: boolean

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

public type: number

The joint type is set automatically for concrete joint types.

public userData: any

Use this to attach application specific data to your joints.