Function PhysicsDirectSpaceState.collideShape

Checks the intersections of a shape, given through a PhysicsShapeQueryParameters 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 (
  PhysicsShapeQueryParameters shape,
  const(long) max_results = 32L
) nothrow @nogc;