Physics2DDirectSpaceStateCollideShape Method |
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(Physics2DShapeQueryParameters, Int32), the number of returned results can be limited to save processing time.
Namespace: Godot
public Array CollideShape( Physics2DShapeQueryParameters shape, int maxResults = 32 )
[Missing <param name="shape"/> documentation for "M:Godot.Physics2DDirectSpaceState.CollideShape(Godot.Physics2DShapeQueryParameters,System.Int32)"]
[Missing <param name="maxResults"/> documentation for "M:Godot.Physics2DDirectSpaceState.CollideShape(Godot.Physics2DShapeQueryParameters,System.Int32)"]
[Missing <returns> documentation for "M:Godot.Physics2DDirectSpaceState.CollideShape(Godot.Physics2DShapeQueryParameters,System.Int32)"]