Ardenian
A
Ardenian
Hello,
I am just average in math so I have problems solving this issue:
-> A unit casts a spell ( like Death Coil) to a moving object, like a unit that moves into a certain direction.
The aim: Making trigger damage hit as accurate as to the incoming missile model and special art.
My first thought: Simply, adding a 'Wait' with a timer 'Distance of casting unit to target / indexed speed of missile type'.
But, the unit the spell is casted on is moving, therefore this is too inaccurate.
In case the unit is there with an angle of 90°, it would be easy as I could use the Pythagoras, but there does not has to be a 90° angle.
So, how do I get the new ( rough estimated) distance, including the movement speed of the unit ?
I am just average in math so I have problems solving this issue:
-> A unit casts a spell ( like Death Coil) to a moving object, like a unit that moves into a certain direction.
The aim: Making trigger damage hit as accurate as to the incoming missile model and special art.
My first thought: Simply, adding a 'Wait' with a timer 'Distance of casting unit to target / indexed speed of missile type'.
But, the unit the spell is casted on is moving, therefore this is too inaccurate.
In case the unit is there with an angle of 90°, it would be easy as I could use the Pythagoras, but there does not has to be a 90° angle.
So, how do I get the new ( rough estimated) distance, including the movement speed of the unit ?
Last edited by a moderator: