API Docs for: 0.4.0
Show:

Constraint Class

Base constraint class.

Constructor

Constraint

(
  • bodyA
  • bodyB
)

Parameters:

Item Index

Methods

Properties

Methods

update

()

To be implemented by subclasses. Should update the internal constraint parameters.

Properties

bodyA

Body

First body participating in the constraint.

bodyB

Body

Second body participating in the constraint.

equations

Array

Equations to be solved in this constraint