API Docs for: 0.7.1
Show:

OverlapKeeper Class

Keeps track of overlaps in the current state and the last step state.

Constructor

OverlapKeeper

()

Methods

bodiesAreOverlapping

(
  • bodyA
  • bodyB
)
Boolean

Checks if two bodies are currently overlapping.

Parameters:

Returns:

Boolean:

create

() Island

Returns:

create

() IslandNode

Returns:

destroy

(
  • equation
)
ContactEquationPool

Parameters:

Returns:

ContactEquationPool:

destroy

(
  • equation
)
FrictionEquationPool

Parameters:

Returns:

FrictionEquationPool:

destroy

(
  • island
)
IslandPool

Parameters:

Returns:

IslandPool:

destroy

(
  • node
)
IslandNodePool

Parameters:

Returns:

IslandNodePool:

setOverlapping

(
  • bodyA
  • shapeA
  • bodyB
  • shapeB
)

Parameters:

tick

()

Ticks one step forward in time. This will move the current overlap state to the "old" overlap state, and create a new one as current.