| Parameter | Description |
|---|---|
| transform | The 3D transform to use. |
| transformPlane | The transform plane to use. |
PhysicsTransform The 2D transform.
Transform a 3D Transform position and rotation to a 2D PhysicsTransform. Scale is not part of a PhysicsTransform therefore it is ignored.
For a custom transform plane use PhysicsMath.ToPhysicsTransform instead.
| Parameter | Description |
|---|---|
| transform | The 3D transform to use. |
| world | The world whose transform plane is used. |
PhysicsTransform The 2D transform.
Transform a 3D Transform position and rotation to a 2D PhysicsTransform using the specified world's transform plane. Scale is not part of a PhysicsTransform therefore it is ignored.