GetSeparation(Vector2)
Get the signed separation of a point from a plane.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly float GetSeparation(Vector2 point)
Parameters
The point to check the separation from the plane.
Returns
Type | Description |
|---|---|
| float | The signed separation of the point from the plan. |