Island Class
An island of bodies connected with equations.
Constructor
Island
()
Methods
getBodies
()
Array
Get all unique bodies in this island.
Returns:
Array:
An array of Body
reset
()
Clean this island from bodies and equations.
solve
(
-
dt
-
solver
Solves all constraints in the group of islands.
Parameters:
-
dt
Number -
solver
Solver
Properties
bodies
Array
Current bodies in this island.
equations
Array
Current equations in this island.