# SetTransformFast2D(PhysicsTransform, Transform, TransformPlane, bool)

> Set the Transform position and rotation using the specified PhysicsWorld.TransformPlane. For position, only two axis will be updated with the others remaining unchanged. For rotation, only a single rotation axis will be changed with the others set to zero. See: PhysicsMath.ToRotationFast3D and PhysicsWorld.SetTransform.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public static void SetTransformFast2D(PhysicsTransform physicsTransform, Transform transform, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY, bool transformChangedEvent = false)
```

### Parameters

**** (\[PhysicsTransform]\(/engine/6000.5/script-reference/unity/u2d/physics/physicstransform)): The physics transform to use as the source of the pose.**** (\[Transform]\(/engine/6000.5/script-reference/unityengine/transform)): The Transform to set.**** (\[TransformPlane]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformplane)): The transform plane to use.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): By default, no transform changed event will be produced however this behaviour can be overridden with this argument.
