Billiards readme: link prediction article

This commit is contained in:
mischa 2024-03-21 12:37:20 +08:00 committed by MrGadget
parent a0bb738705
commit ea01b7c060
2 changed files with 6 additions and 2 deletions

View File

@ -10,8 +10,8 @@ While simple, this approach has a major flaw: latency.
The NetworkManager has a LatencySimulation component to see this on your own computer.
Client actions will always feel a bit delayed while waiting for the server.
The solution to this is called Prediction, which we implemented in our BilliardsPredicted demo.
See the Prediction article in our documentation!
The solution to this is called Prediction:
https://mirror-networking.gitbook.io/docs/manual/general/client-side-prediction
Notes:
- Red/White ball Rigidbody CollisionMode needs to be ContinousDynamic to avoid white flying through red sometimes.

View File

@ -1,4 +1,8 @@
Advanced multiplayer Billiards demo with Prediction.
Please read this first:
https://mirror-networking.gitbook.io/docs/manual/general/client-side-prediction
Mouse drag the white ball to apply force.
PredictedRigidbody syncInterval is intentionally set pretty high so we can see when it corrects.