Welcome, Guest

Author Topic: Random system  (Read 3019 times)

skuzzbag

  • *
  • Posts: 1
Random system
« on: June 20, 2011, 02:22:00 PM »
I've got a bit of code somewhere where I did a gravity/mass simulation (on a tiny tiny scale compared to this  :) ). It was confined to a small universe which was also wrapped if I wanted it to be as this kept things going if bodies wanted to sod off elsewhere permanently and ruin the fun.

Then I simply generated random planets with random mass (with some constraints to keep it functional) based on a seed (so interesting variations were replicable) and set it all running. I also did stuff like changing the gravity worked so that it stopped beyond a certain distance in some cases, and giving some bodies negative gravity to see how that affected things.

I was wondering if it's possible to create something similar within Universe Simulator? Or if in the future this kind of extended tweaking will be possible?

Also - great program!

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Random system
« Reply #1 on: June 20, 2011, 04:14:07 PM »
Try Auto System in the Body Properties screen.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: Random system
« Reply #2 on: June 24, 2011, 02:40:18 PM »
Like Darvince suggested:

Create at least two objects, select them both, then in the properties panel select "Auto System"

This is a very early first pass on the type of functionality you're suggesting. I hope to expand upon it (and make this option more visible) in a future update.