# SetNormalAngle(float, float)

> Sets the ContactFilter2D.minNormalAngle and ContactFilter2D.maxNormalAngle filter properties and turns on normal angle filtering by setting ContactFilter2D.useNormalAngle to true.

## Definition

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

```csharp
public void SetNormalAngle(float minNormalAngle, float maxNormalAngle)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The value used to set the [ContactFilter2D.minNormalAngle](/engine/6000.6/script-reference/unityengine/contactfilter2d/minnormalangle.md).**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The value used to set the [ContactFilter2D.maxNormalAngle](/engine/6000.6/script-reference/unityengine/contactfilter2d/maxnormalangle.md).
