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