05-01-2017, 11:02 PM
(Сообщение последний раз редактировалось: 05-02-2017, 03:16 AM TheBestGuy.)
I was trying to fix some problems in my UDP3 and realized that I needed values from the players axis, for example, the client sends the positions in ushort to the UDP3 server, and for example to plant a bomb, it is necessary to float.
What would be the calculation that should be used to transform these values?
I received a value of the X axis in ushort, 52967, and it converted to float is -27.60938, but what is the calculation that has to be used to get to that result, both for the X, Y, and Z axis.
What would be the calculation that should be used to transform these values?
I received a value of the X axis in ushort, 52967, and it converted to float is -27.60938, but what is the calculation that has to be used to get to that result, both for the X, Y, and Z axis.