This is based off my first project chase the star and is a way to test out smoother movement. Feel free to bookmark/steal the code.