↧
Answer by robertbu
The chance that the magnitude of the velocity will exactly equal 100 if very small. How you want to handle the issue will depend on your game mechanic. As a starting point, rewrite to:...
View ArticleAnswer by ZeroSumGames
If your airplane is accelerating, then this line will only be called a single time, in passing: if(rigidbody.velocity.magnitude.Equals(TakeOffSpeed)) rigidbody.AddRelativeForce (0,200,0); //Force...
View Article