- Joined
- Nov 18, 2012
- Messages
- 272
I want to make a unit glide to 100 units flying height.
Well the trick is, I want it to reach 100 units only when it is reaches it's target.
How can I make a calculus that somehow calculates the distance the unit needs to descend every second, based on it's movement speed and flying height?
Will this do?
Well the trick is, I want it to reach 100 units only when it is reaches it's target.
How can I make a calculus that somehow calculates the distance the unit needs to descend every second, based on it's movement speed and flying height?
Will this do?
- Animation - Change Unit's flying height to 200.00 at (((Distance between (Position of (Unit)) and (Position of (Target))) / (Current movement speed of (Unit))) x (Current flying height of (Unit)))
Last edited by a moderator: