Created
June 5, 2014 11:38
-
-
Save mizutanikirin/5973c642e42a6d35d059 to your computer and use it in GitHub Desktop.
バネ運動
This file contains 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
velocity = 0.9 * (velocity + ((0.3 * (180 - horizontalAngle)) / 6.0)); | |
horizontalAngle += velocity; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment