# FromDegrees(float)

> Create a rotation with the specified rotation, in degrees. See PhysicsRotate.FromRadians.

## Definition

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

```csharp
public static PhysicsRotate FromDegrees(float degrees)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The rotation angle specified, in degrees.

### Returns

| Type                                                                                | Description                                                     |
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [PhysicsRotate](/engine/6000.5/script-reference/unity/u2d/physics/physicsrotate.md) | The rotation represented by the specified rotation, in degrees. |
