TestOverlapShapeProxy(ShapeProxy, QueryFilter)
Test if the provided shape proxy overlaps any shapes.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public bool TestOverlapShapeProxy(PhysicsShape.ShapeProxy shapeProxy, PhysicsQuery.QueryFilter filter)
Parameters
The shape proxy to use. This must be in world-space.
The filter to control the result returned.
Returns
Type | Description |
|---|---|
| bool | If the query overlaps anything. |