Quote:
Originally Posted by Thiesius
Maybe it doesn't make a sense to you, but once you will think about it more, you will figure it out - why does it work like that.
|
Its quite simple.
The client Z coord is changed, so when he moves again, the client call Height function that from X,Y got RealHeight value.
If Z value is > RealHeight value client sends the move packet (much faster than in normal moving/running) in the Z axis with minus move values.
The same is when RealHeight > Z Value, but the move values are unsigned.