Page 3 of 3

Re: GSim version 0.25

Posted: Thu Mar 13, 2014 4:06 pm
by A Random Player
testtubegames wrote:
A Random Player wrote:Bug: Switch to Newtonian integration is inconsistent.
Whoa, something went really wrong there. Even worse, I just ran it through the new build I'm working on -- and got an even different result.

Getting close to the next build -- but wanna solve this first (and a couple other bugs).
Perhaps the problem is similar to the weakened planetary attraction bug in the old simulator? That's what it reminded me of. But in this case mobile objects were pulling with more force, not less.

Re: GSim version 0.25

Posted: Thu Mar 13, 2014 4:20 pm
by testtubegames
Well, I think I figured out why things were different in my build -- it was bugging out because of zero-mass planets. I hadn't gotten around to checking that yet, and some of the calculations don't work right. (Total force = 0... mass=0... thus acceleration=system error) Simple fix, there.

Once I get that set, I'll be able to check out this Euler vs. RK4 problem. The new build also has a bunch of fun stuff you'll get to play around with -- such as manually setting the type of integration being used. So I (and eventually you) should have a fairly easy time checking it.