Options
All
  • Public
  • Public/Protected
  • All
Menu

Joint definitions are used to construct joints.

Hierarchy

Index

Constructors

constructor

  • Constructor.

    Returns b2JointDef

Properties

bodyA

bodyA: b2Body

The first attached body.

bodyB

bodyB: b2Body

The second attached body.

collideConnected

collideConnected: boolean

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

type

type: number

The joint type is set automatically for concrete joint types.

userData

userData: any

Use this to attach application specific data to your joints.

Generated using TypeDoc