Created
June 8, 2017 02:32
-
-
Save inoook/78bffb588d6297d8b9d79be0b93724dc 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
float a = 11.11f;//減速加速度 | |
float stopDistance = Mathf.Abs( (targetSpeed * targetSpeed - currentSpeed * currentSpeed) / (2 * a) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment