# RollbackManager (Pro Feature)

## Description <a href="#server-and-host" id="server-and-host"></a>

The RollbackManager must be added and configured properly for lag compensation to function properly. Objects you wish to rollback must contain the[ ColliderRollback](https://fish-networking.gitbook.io/docs/fishnet-building-blocks/components/colliderrollback) script on them. You can learn more about using it on this page: [lag-compensation](https://fish-networking.gitbook.io/docs/guides/features/lag-compensation "mention")

{% hint style="success" %}
Check out its API page for more specific methods [here](https://fish-networking.com/FishNet/api/api/FishNet.Component.ColliderRollback.RollbackManager.html).
{% endhint %}

## Settings <a href="#server-and-host" id="server-and-host"></a>

<div align="left"><figure><img src="https://1328095063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MheH2hMo3djr9VSyxTE%2Fuploads%2Fgit-blob-030d0efcb0fd4a91001622ad2718540392a4b8a2%2Frollback-manager-component.png?alt=media" alt=""><figcaption><p>Default settings</p></figcaption></figure></div>

### :gear: **Bounding Box Layer**

> This is the layer to first test against before rolling back colliders. When a layer is specified a collider will be added to your [ColliderRollback](https://fish-networking.gitbook.io/docs/fishnet-building-blocks/components/colliderrollback) objects; because of this, be sure to use a layer which has no physics intersections and is not used for anything else.

### :gear: **Maximum Rollback Time**

> This is the maximum of seconds colliders may rollback. Using a value of 1f would allow colliders to rollback at most one second in the past, which is a very reasonable amount of time given typical player latencies are less than 100ms.

### :gear: **Interpolation**

> This is the amount of interpolation you are using on your [NetworkTransform](https://fish-networking.gitbook.io/docs/fishnet-building-blocks/components/network-transform) components. Or if you are using rigidbodies with prediction this would be the **interpolation** value on the smoothing component.
