GetTranslationIgnoredAxis(Vector3, TransformPlane)
Get the ignored translation axis, given the specified transform plane.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static float GetTranslationIgnoredAxis(Vector3 position, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)
Parameters
The position to extra the axis from.
The transform plane to use.
Returns
Type | Description |
|---|---|
| float | The ignored translation axis value. |