DistanceConstraint Class
Constrains two bodies to be at a constant distance from each others center of mass.
Constructor
Item Index
Properties
Methods
disable
()
Disables all equations in the constraint.
enable
()
Enables all equations in the constraint.
update
()
Update all the equations with data.
Properties
collideConnected
Boolean
Set to true if you want the bodies to collide when they are connected.
distance
Number
equations
Array
Equations to be solved in this constraint