Smoother sync: predict remote objects/cars from their velocity, 30 updates/s for objects and players

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-27 09:22:07 +02:00
co-authored by Claude Opus 5.5
parent bdd86336c2
commit b853425037
2 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace MSCO
const float PingInterval = 2f;
const float LateJoinSaveDelay = 1.5f; // Host: Zeit zum Speichern, bevor der Spielstand verschickt wird
const float TeleportSideOffset = 1.5f; // später Beigetretene erscheinen so weit neben dem Host
const float SendInterval = 0.05f; // 20 Updates pro Sekunde
const float SendInterval = 1f / 30f; // 30 Spieler-Updates pro Sekunde
const string PrefName = "MSCO_Name";
const float NameTagHideDistance = 15f; // ab hier kein Namensschild mehr
const float NameTagFadeRange = 5f; // die letzten Meter davor wird es ausgeblendet