Orrery

About the Game

This project is a simulation of an Orrery. The purpose of this project was to develop and use maths functions and vector movement and rotation as opposed to using Unity's built-in functions. As such this project requires the creation of a small makeshift "maths library" built from scratch. All movements such as orbits, axial tilt and spin, child-parent relationships etc are achieved using these functions and vector/matrix maths, instead of "transform.translate" functions or by simply assigning child objects in the heirarchy etc. All objects are also created through code by creating meshes which are then manipulated by the matrices.

What I Implemented

  • 9 Planets Orbit Sun

  • Moon Child Objects Orbit Planets

  • Elliptical Orbits

  • Moons and Planets Spin on Local Axis

  • Moons and Planets Have Axial Tilt

  • Camera Placement on any Planet POV Feature

  • Simulation Speed Adjustment Feature (1 Real-Time Second = 1 Simulation Earth Day/Month/Year etc.)

  • Menu Screen and Collapsible Feature Menus

Problems Encountered

Preventing Parent Matrix Duplication

To be added soon.