API Docs for: 0.4.0
Show:

Island Class

An island of bodies connected with equations.

Constructor

Island

()

Item Index

Properties

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:

Properties

bodies

Array

Current bodies in this island.

equations

Array

Current equations in this island.