PDA

View Full Version : Calculations dependent on PC?


snownation
08-19-2011, 05:40 AM
Are the simulations and calculations dependent on the PC running US?

I ask because, I did nothing but set "1 real sec = 365 days", which I assumed would make earth revolve around the sun every second.

What happened in the game is that planets started moving very fast, and the trails went all haywire, and it ended up with mercury slingshotting out of orbit from the sun.

Is this supposed to happen?

Dan Dixon
08-30-2011, 02:11 PM
Universe Sandbox is a gravity simulator that calculates the new positions of each object (planets, stars, moons) each frame. The change in time from each frame to the next is the time step.

When you set "1 real sec = 365 days" and you're running at around 30 fps then the time step will become ~12 days per step. Depending on the scale of the simulation this is probably too fast.

As you turn up the time step the accuracy decreases as you lower the time step the accuracy increases. This is why Mercury got thrown out.

Here's more about that:
http://universesandbox.com/faq/#sim