Hi there, welcome to this tutorial on creating a simple first person controller that will function on spherical planets.
Updated source code for Unity5: https://github.com/SebLague/Spherical-Gravity
Original source code: http://pastebin.com/YBbFGZzD
Download the world model package by @danielsound here: https://www.dropbox.com/s/ul53h1g3nb5b9ed/Spherical%20Gravity%20Start%20Pkg.zip?dl=1.
Find out more about This Little Piggy here: http://youtu.be/H7-3dZTERf0
Support the channel: http://bit.ly/SupportGamedevTutorials
source