Function Physics2DDirectSpaceState.collideShape
Checks the intersections of a shape, given through a Physics2DShapeQueryParameters
object, against the space. The resulting array contains a list of points where the shape intersects another. Like with intersectShape
, the number of returned results can be limited to save processing time.
Array collideShape
(
Physics2DShapeQueryParameters shape,
const(long) max_results = 32L
) nothrow @nogc;