# SetMaxImpulse(int, float)

> Set the maximum impulse that the solver can apply at a particular contact point in this contact pair.

## Definition

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

```csharp
public void SetMaxImpulse(int i, float value)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the contact point.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The maximum impulse that can be applied.

### Remarks

Note that setting zero maximum impulse will be the same as disabling the contact point.
