Get max speed
#7

Make sure you have the correct speed calculation.

Код:
return floatsqroot((velocity[0] * velocity[0]) + (velocity[1] * velocity[1]) + (velocity[2] * velocity[2])) * 100.0;
This is incorrect is should be this.

Код:
return floatsqroot((velocity[0] * velocity[0]) + (velocity[1] * velocity[1]) + (velocity[2] * velocity[2])) * 180.0;
That should give real scale results.
Reply


Messages In This Thread
Get max speed - by JaydenJason - 27.12.2014, 12:09
Re: Get max speed - by Nimrod - 27.12.2014, 13:17
Re: Get max speed - by JaydenJason - 27.12.2014, 13:25
Re: Get max speed - by JaydenJason - 28.12.2014, 00:36
Respuesta: Get max speed - by Zume - 28.12.2014, 00:39
Re: Get max speed - by Abagail - 28.12.2014, 00:42
Re: Get max speed - by Pottus - 28.12.2014, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)