- Joined
- Oct 18, 2007
- Messages
- 930
Ok now i need a formula for getting a number for something that is simmilar to a knockback,
Ok lets say you target a point, then you get the location and the distance between those two points. I need a unit to travel that location for over lets say over 2 secconds, but when it moves it starts fast and ends slow, it will loose ("example -0.03" but that dont need to be 0.03) every 0.01 secconds or so, maybe 0.02 or sum ( does not matter :>).
So if anyone have an idea, just post'em.
Thx
Ok lets say you target a point, then you get the location and the distance between those two points. I need a unit to travel that location for over lets say over 2 secconds, but when it moves it starts fast and ends slow, it will loose ("example -0.03" but that dont need to be 0.03) every 0.01 secconds or so, maybe 0.02 or sum ( does not matter :>).
So if anyone have an idea, just post'em.
Thx