# ApplyTorque(float, bool)

> Apply a torque. This affects the angular velocity without affecting the linear velocity.

## Definition

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

```csharp
public void ApplyTorque(float torque, bool wake = true)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Torque, usually in N\*m.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Should the body be woken up.
