For your projectiles, if you have speed in distance/time, lifetime a,d want to calculate distance, just multiply speed with lifetime. You may be off by a constant factor depending on units mismatch, notably if speed is in distance/tick length. Try multiplying/divinding by delta.
perfect, thank you !
wildboar | 2021-02-14 07:59
In line:
drawline(hero.position, length, Color(255, 0, 0, 0.5), 3, true)