An open API service indexing awesome lists of open source software.

https://github.com/seblague/spherical-gravity


https://github.com/seblague/spherical-gravity

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Spherical-Gravity
Source code from my spherical gravity tutorial, updated for Unity 5.
Tutorial availaible here: https://youtu.be/TicipSVT-T8

Your planet object should have the GravityAttractor script attached. It should also have a 'Planet' tag applied, and a layer specified for the ground. This ground layer should be assigned to the grounded mask on the first person character controller.