GetRotationIgnoredAxes(TransformPlane)
Get the ignored rotation axes, given the specified transform plane. This is the inverse of PhysicsMath.GetRotationAxes.
読み終わるまでの所要時間 1 分最終更新 21日前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static Vector3 GetRotationIgnoredAxes(PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)
Parameters
The transform plane to use.
Returns
Type | Description |
|---|---|
| Vector3 | The ignored rotation axes. 0 indicates an axis is used whereas 1 indicates the axis is ignored. |