oh yea, sorry, I should have but didn't make that connection. So the above code is how to scale a vector in Cartesian. Sweet, this has defiantly been a learning experience thank you Reedbeta for all the help.
velocity issues with gravity and player
Started by paul0n0n, Mar 17 2009 03:59 PM
22 replies to this topic
#21
Posted 27 March 2009 - 05:01 PM
#23
Posted 30 March 2009 - 02:33 PM
monjardin said:
The "jumping" about at coordinates beyond 1,000,000 is likely due to floating point errors. This article addresses the issue in the context of a space simulation.
Thank you monjardin. That helped out immensely. Doubles isn't an option for me so I have figured out another way to overcome the floating point errors. instead of the player going to the systems, I bring the systems to the player. so the player is always at 0,0,0.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












