SouLEDGE
Damn you advanced calculus
- Reaction score
- 75
Okay, so I have my spell: Impale shot
The caster targets a unit and impales him with a rope spear(spear rope? spear attached to a rope) and yanks the unit towards the caster.
Achieved with few simple slide triggers but I want to know if it's possible to use an exponential function for the distance the unit moves each time the periodic event fires off... hope that made sense to anyone.
Basically the unit is going to slow down the closer he gets to his destination.
I thought of: f(x)= -2^x+c . X and Y > 0. Y would be the distance the unit moves and X the periodic event time. Honestly I suck at math, so I can't figure out how to use this function for the distance.
Any help would be appreciated
The caster targets a unit and impales him with a rope spear(spear rope? spear attached to a rope) and yanks the unit towards the caster.
Achieved with few simple slide triggers but I want to know if it's possible to use an exponential function for the distance the unit moves each time the periodic event fires off... hope that made sense to anyone.
Basically the unit is going to slow down the closer he gets to his destination.
I thought of: f(x)= -2^x+c . X and Y > 0. Y would be the distance the unit moves and X the periodic event time. Honestly I suck at math, so I can't figure out how to use this function for the distance.
Any help would be appreciated