ToPosition2D(Vector3, TransformPlane)
Transform a 3D position into a 2D position using the selected transform plane.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static Vector2 ToPosition2D(Vector3 position, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)
Parameters
Returns
Type | Description |
|---|---|
| Vector2 | The transformed position. |