Options
All
  • Public
  • Public/Protected
  • All
Menu

Mouse joint definition. This requires a world target point, tuning parameters, and the time step.

Hierarchy

Index

Constructors

constructor

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.

dampingRatio

dampingRatio: number

The damping ratio. 0 = no damping, 1 = critical damping.

frequencyHz

frequencyHz: number

The response speed.

maxForce

maxForce: number

The maximum constraint force that can be exerted to move the candidate body.

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