Hey,
I have a unit with attackspeed and I want the attack animation of this unit be the same length as the attack speed so that when the animation is finished the damage is applied and it looks smooth. Now my animation is always playing at the same speed and that looks really odd because sometimes damage is dealt at the beginning of the animation sometimes at the middle etc…
I couldn’t really find any help on this topic maybe can give me some info how I would implement this.