[0.3a] Vehicle Sync (Vehicles drive sideways)
#19

Quote:
Originally Posted by braduz
Happens with bots, if there in a car and you make an obstruction it passes though it and drives at 70-80 degrees for a while
Id say for sync sa-mp 2 was alot better
wtf did they do to the sync?
That's done on porpouse actually.
Imagine this situation: Player A, and Player B are driving around in a server. Player B is downloading stuff using most of his bandwidth, and therefore lagging. Player A is car-surfing on Player B's car. Player B uses the handbrake and makes a 180є turn. Now, since Player B is pretty much lagging, there will be some packetloss, so the car would suddently turn from a 20є facing angle to 120є, and then to 200є. Just those three packets.
If the car position was updated just like that, the movement will be extremly sharp, and Player A would most likely fall, and the Player B's turning will look just weird.
Then, to avoid this, I think that SA-MP attempts to make those angle changes smoother, by gradually setting the angle to the correct position, and not doing it just at once. Then, Player A will see Player B's turn a lot more smooth (since even although just 3 packets were sent with the car's angle, the rest of the turning angles were calculated by SA-MP's client) and most likely not fall.

Or at least that's how I think that it works.
Reply


Messages In This Thread
[0.3a] Vehicle Sync (Vehicles drive sideways) - by Rac3r - 17.11.2009, 10:21
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by BeckzyBoi - 17.11.2009, 16:21
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by shady91 - 21.11.2009, 05:41
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by GTA_Rules - 21.11.2009, 18:47
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Burridge - 21.11.2009, 21:35
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Sayaron - 22.11.2009, 12:22
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Dark-Pheonix - 22.11.2009, 17:15
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by yezizhu - 30.11.2009, 22:47
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by HydraX - 01.12.2009, 01:37
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by BP13 - 27.12.2009, 00:10
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by HydraX - 27.12.2009, 03:54
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Sergei - 27.12.2009, 08:37
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by WackoX - 29.12.2009, 10:11
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by [03]Garsino - 30.12.2009, 07:55
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Rac3r - 30.12.2009, 08:56
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by yezizhu - 30.12.2009, 09:13
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Rac3r - 30.12.2009, 09:32
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by braduz - 18.01.2010, 20:32
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Zamaroht - 26.02.2010, 13:36
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Sayaron - 01.03.2010, 12:54
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Sayaron - 01.03.2010, 23:19
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by VirSpectorX - 23.03.2010, 15:10
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by BP13 - 23.03.2010, 23:28
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by Snoooopy - 24.03.2010, 06:38
Re: [0.3a] Vehicle Sync (Vehicles drive sideways) - by MaTrIx4057 - 30.03.2010, 09:30

Forum Jump:


Users browsing this thread: 2 Guest(s)