PhysicsWorld.TransformPlane
Defines the 2D Transform plane where Transform writes will occur. This also defines the rotation axis which will automatically be perpendicular to the selected plane. See PhysicsWorld.transformPlane.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsWorld.TransformPlane
Fields
Value | Description |
|---|---|
| Custom | Use the assigned PhysicsWorld.transformPlaneCustom to allow transformation writing and reading to/from a custom 2D plane. |
| XY | XY plane with anti-clockwise Z rotation. |
| XZ | XZ plane with anti-clockwise Y rotation. |
| ZY | ZY plane with anti-clockwise X rotation. |