From ea01b7c060a8ca8337cb87ce4c60613c55df4f8a Mon Sep 17 00:00:00 2001 From: mischa Date: Thu, 21 Mar 2024 12:37:20 +0800 Subject: [PATCH] Billiards readme: link prediction article --- Assets/Mirror/Examples/Billiards/_Readme.txt | 4 ++-- Assets/Mirror/Examples/BilliardsPredicted/_Readme.txt | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Examples/Billiards/_Readme.txt b/Assets/Mirror/Examples/Billiards/_Readme.txt index 111a2671a..8f4c380c1 100644 --- a/Assets/Mirror/Examples/Billiards/_Readme.txt +++ b/Assets/Mirror/Examples/Billiards/_Readme.txt @@ -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. diff --git a/Assets/Mirror/Examples/BilliardsPredicted/_Readme.txt b/Assets/Mirror/Examples/BilliardsPredicted/_Readme.txt index 0b5267aa6..b0492d952 100644 --- a/Assets/Mirror/Examples/BilliardsPredicted/_Readme.txt +++ b/Assets/Mirror/Examples/BilliardsPredicted/_Readme.txt @@ -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.