# PhysicsRotate

> Create an identity rotation.

## Definition

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

## PhysicsRotate()

Create an identity rotation.

```csharp
public PhysicsRotate()
```

## PhysicsRotate(Vector2)

Create a rotation with the specified direction.

```csharp
public PhysicsRotate(Vector2 direction)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): The direction to use. This cannot be zero length.

## PhysicsRotate(Quaternion, TransformPlane)

Create a rotation with the specified [Quaternion](/engine/6000.5/script-reference/unityengine/quaternion.md).

```csharp
public PhysicsRotate(Quaternion rotation, PhysicsWorld.TransformPlane transformPlane)
```

### Parameters

**** (\[Quaternion]\(/engine/6000.5/script-reference/unityengine/quaternion)): The Quaternion rotation to use.**** (\[TransformPlane]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformplane)): The transform plane to use.
