Used spheres to create planets
Used cylinder to form Saturn's ring
Added a plane of stars for the atmosphere
Uploaded images to create the individual material for each planet
Each planet rotates around the sun
Has two C# scripts (one that rotates the planet to mimic day, second that rotates around the sun to simulate year)
Created a star-shaped character using proBuilder tool
Integrated character physics: changed friction
Implemented movement and jump through input system: had an additional check to make sure the character can only jump on ground
Added additional mechanic, dash
When the R key is pressed, the player dashes forward for .5 seconds
Steps:
- Set R on the keyboard to be the activator
- In Update(), there is a timer which increments by deltaTime, and when the timer has passed the cooldown time, canDash is set to true
- In OnDash(), I first checked for canDash. If true, then the velocity is changed (timer is set to 0 and canDash is false). Dash stops after .5 seconds by calling the StopDash function, which sets velocity back to zero.