Skip to content

ShenranChen/SolarSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Mini Solar System

Week 2

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)

Week 3

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:

  1. Set R on the keyboard to be the activator
  2. In Update(), there is a timer which increments by deltaTime, and when the timer has passed the cooldown time, canDash is set to true
  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published