Monday 8 September 2014

simulations - Simulating Gravity in 3D Game?


Alright, I am writing a space simulator for a 3D game and I would like to implement gravity of objects into it.


Is there a nice way to find a velocity vector which can be added to my engine output vector to create the effect of gravity.


In addition, how would I be able to find the velocities required to get object A into orbit around object B at a certain distance?




No comments:

Post a Comment

Understanding Stagnation point in pitot fluid

What is stagnation point in fluid mechanics. At the open end of the pitot tube the velocity of the fluid becomes zero.But that should result...