Skip to content

karanvirheer/Orbo

Repository files navigation

Orbo

What Is It?

Orbo is a gravitational orbit simulator made in the Unity Game Engine. It simulates the orbiting of plants around a star, and showcases how orbits are impacted over a certain period of time, be it through collisions or just the sheer angle of the orbit itself.

How to Get Started

  1. Click download, and download the files in a zip file.
  2. Extract the files into a premade folder.
  3. Run the Orbo.exe file and have fun.

What Can I Change In The Simulation?

  • The gravitional constant

    • As the gravitational constant of 6.67E-11 is WAY too small for the Unity Engine to even show any impact, you have to add a multiplier. I personally recommend going with 30 to start off.
  • The amount of planets spawned

    • You can change the amount of planets that you want to spawn in the field around the star, as this allows for collisions between the planets while they orbit. Don't get too crazy with it!
  • The radius of the orbit

    • If you want to make the orbit of the planets be more wider, then go right ahead. This right here is for you. It can help you prevent the collisions that occur and maybe even see interesting elliptical orbits.

Behind the Scenes

A Picture-By-Picture Depiction Of The Journey

Here is the link to the imgur album showcasing the journey.

Video & Flowchart

For the video explaining Orbo, click right here.

If you would like to see a flowchart depicting the planning of Orbo click here.

Random How To Video

If you want to know how to use a button to switch scenes in Unity, watch this.

Timelapse Of The Particle System Creation

Accidentally recorded myself working on the particle system for my Sun and ended up with a 1 hour clip. Edited it and sped it up for easier viewing. Watch it here.

Discovery Of A Random Collisions Bug

Watch it here.

Where Can I See The Code?

Just click on the scripts folder and click on that file that ends with .cs and that should let you view the contents of the file.

What Videos Did You Use To Help You?

  • For the Sun and the particle system I used this.

  • For the main menu I used this.

  • For the options menu I used this.

  • For the main simulation I used this.

  • Since I didn't know how to use Premiere Cut Pro, I had to use this.

About

A gravitational orbit simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages