API Docs for: 0.6.1
Show:

Constraint Class

Constraint base class

Constructor

Constraint

(
  • bodyA
  • bodyB
  • [options]
)

Parameters:

  • bodyA Body
  • bodyB Body
  • [options] Object optional
    • [collideConnected=true] Boolean optional
    • [wakeUpBodies=true] Boolean optional

Item Index

Methods

Methods

update

()

Properties

collideConnected

Boolean

Set to true if you want the bodies to collide when they are connected.

equations

Array

Equations to be solved in this constraint

id

Number