Рет қаралды 2,776
In this video I explain the concept of Client Side Prediction (CSP) in the Fishnet Networking asset. Client Side Prediction is used to prevent players from cheating by modifying the game and provides a form of server authoritative movement. I walk you through the steps of setting up an example for Client Side Prediction and shows the result of his attempt at creating a CSP version of the Unity Starter Assets - Third Person Controller. I explain the basic steps, starting with the Unity Starter assets, adding key bindings using the Unity Input System, importing Fishnet, and updating the ThirdPersonController script. I also mention the difficulties of integrating other character controllers with CSP and provide links for head start on integrating KCC.
0:00 Introduction
1:30 Basic CSP example
2:46 High level concept
3:48 CSP version of Starter Assets
8:58 Run the example
Sources:
* github.com/Goodgulf281/Unity-...
Links:
* gabrielgambetta.com/client-si...
* gitlab.com/ntquang1999/kcc-fi...
* github.com/RidefortGames/Fish...
Assets used:
* assetstore.unity.com/packages...
* assetstore.unity.com/packages...