# GetRelativeAngle(PhysicsRotate)

> Get the relative angle between this rotation and the specified rotation. The limits of this are +/- PhysicsMath.PI.

## Definition

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

```csharp
public readonly float GetRelativeAngle(PhysicsRotate rotation)
```

### Parameters

**** (\[PhysicsRotate]\(/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsrotate)): The rotation to calculate the relative angle against.

### Returns

| Type                                                          | Description                     |
| ------------------------------------------------------------- | ------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The relative angle, in radians. |
