Показать сообщение отдельно
Непрочитано 01.05.2017, 23:02   #1
Пользователь

Автор темы (Топик Стартер) How to transform the received values of axis into float (UDP3)

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.

Последний раз редактировалось TheBestGuy; 02.05.2017 в 03:16. Причина: Some problems with translate
TheBestGuy вне форума Ответить с цитированием