OverlapKeeper Class
Keeps track of overlaps in the current state and the last step state.
Constructor
OverlapKeeper
()
Item Index
Methods
bodiesAreOverlapping
(
Boolean
-
bodyA
-
bodyB
Checks if two bodies are currently overlapping.
Returns:
Boolean:
destroy
(
ContactEquationPool
-
equation
Parameters:
-
equation
ContactEquation
Returns:
ContactEquationPool:
destroy
(
FrictionEquationPool
-
equation
Parameters:
-
equation
FrictionEquation
Returns:
FrictionEquationPool:
setOverlapping
(
-
bodyA
-
shapeA
-
bodyB
-
shapeB
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.