About Lag Compensation

Options
If I'm using Photon Rigidbody 2D View, Photon Transform View and observe them in Photon View, do I need to apply any lag compensation codes for my players? I still have problem with lag. Btw I'm using latest photon pun from asset store.

Comments

  • Hi @comolokko,

    the PhotonRigidbody2DView component doesn't have any Lag Compensation. The PhotonTransformView component have different options where you can apply Inter- and Extrapolation to try to reduce lags.

    If you want to apply Lag Compensation as described on this documentation page, you would have to create a new script, add one of the solution from the documentation page to it and attach it to an object instead of the other Photon*View components.