Highest Rated Comments


5antiago3 karma

Hi, do you know any books or other materials helpful when porting orbital mechanics over to code?

5antiago1 karma

all I do is to calculate its current velocity vector based

Thats easy just

loop(n from 0 to number of marbles) {
forceVector+=pullToMarble(n)
}

Problem appears when you want to time accelerate 10000x times, and have the same result as in normal time, then you need to play with orbital elements and it hurts :/


do we talk in edits now?

As long as my virtual spacecrafts stay below 1% of c i can ignore relativistic effects. Also this v(t+1) = v(t) + a*dt is useless for me, because when i timeaccelerate 1000x i need to calculate t+1's velocity 1000 times faster than during 1x timeacc