BGE Solar system - simple gravity simulation

  • January 02, 2016
  • 695 Downloads
  • 6 Likes
  • Blender 2.7x
  • Render: Blender Internal
  • Creator: tigertowel
  • License: CC-0
You must be logged in to download.

Description:

Not a real game but a simple simulation of gravity in a solar system. Creates a number of random planets around a sun. Their number will decrease over time - they will collide, merge or fall into the sun. But in the end some will find a more or less stable orbit. I love watching it : )

Run the game to start the simulation. You can also adjust the camera:

  • Arrow keys to pan

  • LeftClick and drag to rotate

  • NumPlus/-Minus or PageUp/-Down to zoom

The code is in gravity.py and should be very easy to adjust if you're familiar with Python.

Cheers, have fun!

Comments:

  • RedFrost profile picture
    RedFrost

    This is very cool. did you write the scripts yourself?

    Edited January 03, 2016
  • tigertowel profile picture
    tigertowel

    Thanks RedFrost! Of course I did : ) In the end it's only 3 simple formulas I got from Wikipedia wrapped in BGE basics ...

    Written January 04, 2016
  • Designeren profile picture
    Designeren

    This is so COOL!

    Thank you for the very nice and clean scripts!

    Written January 04, 2016
  • solarforge profile picture
    solarforge

    Nice ! and very simple to use, you even made the sun wobble ! GJ...

    Written January 08, 2016