Protected ReadonlypointFor querying the point that was touched
ReadonlyworldThe physics world in which all actors interact
Query to find the actors at a coordinate. This finds the actors whose
bounding boxes overlap a square centered on the coordinate. Box2D pads
each bounding box by about 0.1 meters, so the search area is about 0.2
meters larger than bbLength in each dimension.
NB: The returned array is reused by the next call, so copy it if you need to keep it.
The X coordinate (in meters) to look up
The Y coordinate (in meters) to look up
The side length (in meters) of the square to search. Use a small value to find what's at a point (like a tap), or the size of something you want to place, to find out if anything is in its way. Defaults to 0.2.
Register a new endContactHandler to run when a collision ends
AdvancedCollisionService is a physics simulator that provides the ability to run code in response to collisions.