# ToPhysicsTransform(Transform, TransformPlane)

> Transform a 3D Transform position and rotation to a 2D PhysicsTransform. Scale is not part of a PhysicsTransform therefore it is ignored.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public static PhysicsTransform ToPhysicsTransform(Transform transform, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)
```

### Parameters

**** (\[Transform]\(/engine/6000.3/script-reference/unityengine/transform)): The 3D transform to use.**** (\[TransformPlane]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/transformplane)): The transform plane to use.

### Returns

| Type                                                                                                  | Description       |
| ----------------------------------------------------------------------------------------------------- | ----------------- |
| [PhysicsTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform.md) | The 2D transform. |
