diff --git a/RageCoop.Client/Sync/Entities/SyncedVehicle.cs b/RageCoop.Client/Sync/Entities/SyncedVehicle.cs index ba8314ff..5c94054b 100644 --- a/RageCoop.Client/Sync/Entities/SyncedVehicle.cs +++ b/RageCoop.Client/Sync/Entities/SyncedVehicle.cs @@ -311,10 +311,10 @@ void DisplayVehicle(bool touching) _elapsed = Owner.PacketTravelTime+0.001f*LastSyncedStopWatch.ElapsedMilliseconds; _predictedPos = Position+_elapsed*Velocity; var current = MainVehicle.ReadPosition(); - var dist = current.DistanceTo(Position); + var dist = current.DistanceTo(_predictedPos); var cali = dist*(_predictedPos - current); if (Velocity.Length()<0.1) { cali*=10; } - if (dist>30) + if (dist>10) { MainVehicle.Position = _predictedPos; MainVehicle.Velocity = Velocity; @@ -446,4 +446,4 @@ private void StopPedalingAnim(bool fast) internal Vector3 LastVelocity { get; set; } #endregion } -} \ No newline at end of file +}