OverlapPoint(Vector2)
Check if a point intersects the shape. This will only work on "closed" shapes. See PhysicsShape.ShapeType.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public bool OverlapPoint(Vector2 point)
Parameters
The world point to check.
Returns
Type | Description |
|---|---|
| bool | Whether an intersection was found or not. |