# PhysicsTransform

> Represents a 2D transformation combining a translation and a PhysicsRotate.

## Definition

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

```csharp
public struct PhysicsTransform
```

## Fields

| Value                                                                                                  | Description                             |
| ------------------------------------------------------------------------------------------------------ | --------------------------------------- |
| [position](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/position.md) | The translation for the transformation. |
| [rotation](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/rotation.md) | The rotation for the transformation.    |

## Constructors

| Constructor                                                                                                                                                                                                           | Description                                                             |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [PhysicsTransform()](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/ctor.md#physicstransform\(\))                                                                                     | Create an identity transform.                                           |
| [PhysicsTransform(UnityEngine.Vector2)](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/ctor.md#physicstransform\(vector2\))                                                           | Create a transformation with the specified translation and no rotation. |
| [PhysicsTransform(UnityEngine.Vector2,UnityEngine.LowLevelPhysics2D.PhysicsRotate)](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/ctor.md#physicstransform\(vector2-physicsrotate\)) | Create a transformation with the specified translation and rotation.    |

## Properties

| Property                                                                                             | Description                                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [isValid](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/isvalid.md) | Check if the PhysicsTransform is valid (position is not NaN and [PhysicsRotate.isValid](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrotate/isvalid.md)). |

## Static Properties

| Property                                                                                               | Description                                                                        |
| ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| [identity](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/identity.md) | The identity transformation i.e. a transformation with no translation or rotation. |

## Methods

| Method                                                                                                                                 | Description                                                                     |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [GetPositionAndRotation](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/getpositionandrotation.md)     | Get both the position and rotation.                                             |
| [InverseMultiplyTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/inversemultiplytransform.md) | Inverse Multiply the specified transform with the current transform.            |
| [InverseTransformPoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/inversetransformpoint.md)       | Inverse Transform a point using the current transform translation and rotation. |
| [MultiplyTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/multiplytransform.md)               | Multiply the specified transform with the current transform.                    |
| [TransformPoint](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/transformpoint.md)                     | Transform a point using the current transform translation and rotation.         |

## Operators

| Operator                                                                                                          | Description                                                                                                                                                                             |
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PhysicsTransform](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicstransform/op-implicit.md) | Implicit conversion of a [PhysicsRotate](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrotate.md) that represents a rotation transformation with no translation. |
