[nbos] Re : [AS] Question regarding a Orbital Properties formula and calculationfranck bocquet Fri Jan 16th, 2009
I am using AS as universe editor for outpouting to my program.
I've implemented formula from those sites in my program, for real time simulation :
Orbital period : http://en.wikipedia.org/wiki/Orbital_period
And using AS documentation also.
I've validated my formula by comparing them to AS results.
It's not difficult, but you need to know some math.
PS : I can give you the part of the code, but it's never easy to read code from someone else. My code is in C# (I am using NeoAxis engine).
De : Shachar Shinerman <shachar5-at-hotmail.com>
À : nbossoftware-at-nbos.com
Envoyé le : Vendredi, 16 Janvier 2009, 10h20mn 39s
Objet : [nbos] [AS] Question regarding a Orbital Properties formula and calculation
I am making a game demo and I purchased AstroSynth.
The game takes place in a 3d Environment using XNA.
I am using AS to build my stars and additional objects, then export as XML and load it in the 3d XNA space.
I wish to understand the exact formula of positioning the objects in orbit in order for me to convert it to a single X,Y,Z (static) location in my game.
So to build a formula of GetXYZ(Distance, Eccentricity, Inclination, Ascending Node, Periapsis, Time past, Orbital Period, Axial Tilt) --> to output a XYZ coordinate.
Please help me understand this formula for me to achieve using AS as my game star editor.....
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out.
Windows Live™: Keep your life in sync. See how it works.
Nbossoftware mailing list