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