GetRotationAxes(TransformPlane)
Get the used rotation axes, given the specified transform plane. This is the inverse of PhysicsMath.GetRotationIgnoredAxes.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static Vector3 GetRotationAxes(PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)
Parameters
The transform plane to use.
Returns
Type | Description |
|---|---|
| Vector3 | The used rotation axes. 0 indicates an axis is ignored whereas 1 indicates the axis is used. |