When there's a problem google can't solve it's time to ask the people that know, so here I am again.
I was on hiatus from the game I was working on but now I'm back at it. There should be a thread back in the past regards it with some example stuff.
The idea is a 2d solar system sim with AI...
So brute force search looks like maybe the only way? I'm developing this with futuristic ships in mind, nuclear pulse or fusion torch or the like with potential delta-v in the ~40m/s range or so.
The goal is for an AI controlled ship to be able to go "I am willing to spend this much fuel and I...
I'm working on and off on a basic solar system and ship simulation in 2D. My current problem is AI and planetary transfer calculations. For a given ship and a given delta-v I need to find the direction to burn the engines that will result in a rendezvous with a body. I have a version that works...
I like the sounds of what you're making. I was also a big fan of I-War, having everything orbit in that may not have effected the game-play massively, but it would have been a very nice feature.
I've been on and off working on a project myself not entirely dissimilar, although mine is more...
So each time it was shipping about half the orbit? That's less than cool, I had hoped to be bug free and moving onto the next phase, I'll look into that. Hmm, probably going to be a hard one to repeat to determine cause.
That's what I was thinking. The idea is a transport and trading game.
I...
It's currently mercury, venus, earth, mars, ceres and jupiter.
Better artwork is on the list of things to have, first it was just about getting the motion of everything working correctly. Once I get all the bugs hammered out of that I'm moving onto the rest. Not sure why it would keep reading...
I knew it skipped for high eccentricity elliptic orbits but not hyperbolic ones. I'll look into that. Does it actually disappear or just jump off screen? If it really glitches it might appear in the top left corner. Not sure why + and - wouldn't be working.
I'll try it on another server as well.
Thanks, just added Venus, Jupiter and Ceres in. Will probably add Saturn in a moment, then some moon's I reckon...
Really easy to add extra bodies
I've been using xml, though really I've been using it wrongly and should correct the syntax to use attributes and not subnodes...
Position and...
Thanks for all the comments.
It was C for center in my head. Only preliminary at the moment, just while I was working the bugs out. The idea is to be like truck driving/ cargo ships in space. Getting contracts at stations to bring X to Y with a time limit for a reward. Such is the idea anyway...
Hi,
This past while I've been working on a project that involves a 2D simulation of planets and ships/stations moving in orbits. I have built up my knowledge of orbital mechanics and how to calculate and implement variables needed for this mainly from reading wiki and for the forums here...
If you get correct intersections for the same e,w and SMa then it must be something on my end. The inverted Y axis just comes from the way flash displays things. On it 0,0 is top left. I do all the calculations in the same meter scale coordinate system and then convert the meter's coordinate to...
Hmm, I seem to be having some difficulty. I implemented it but it seems to be coming out a little incorrect.
I've gone over it and everything looks okay in terms of braces, signs and variables so I think I've converted it to code okay.
This is an example spaceship and the moon's orbits...
Just implementing it now and noticed that it's an \epsilon not an e in the first two if statements. What does it represent? Is it the linear equation you mention in the comment? Just wanted to be certain.
I was so pleased when I realised it's based off the same polar form for all conics. Makes...
Thanks, thats great.
Just to be certain, \omega is Argument of Periapsis right?
If so I think I understand, or at least follow. Would I be right in saying that only works for ellipses that share a focus? Which is fine as they are what I'm intersecting, I just want to be aware.
Also, is there...
I was using this method because I understood all the steps.
Where as I don't really understand how to bring the method mjessick and yourself were describing to completion. But if you are willing to explain the method further to me I'd be more than happy to give it a shot. I'm not so hot on...
I didn't realise I could use LaTeX in posts. That is really useful. There it is all spruced up and legible. I reckon its okay but the disparity between how far I took it and what Wolfram-Alpha did makes me wonder.
With respect to finding the intersection point of two ellipses I am using the parameterized general ellipse equation to plot a point on one ellipse, then testing that points distances to the focal points of the second ellipse to see if it is a valid point on the second ellipse. As described here...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.