Created
March 28, 2011 23:10
-
-
Save tracend/891519 to your computer and use it in GitHub Desktop.
Centerax is the center of the planet... by visioneleven (http://www.youtube.com/user/visioneleven)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object.rigidbody.velocity += (centerax.transform.position - object.transform.position).normalized * 10 * Time.deltaTime; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment