When implementing a timer to engage auto fire, the spawn location of the projectiles changes. If a single click is done, the spawn is normal, even if done faster than the auto fire is set to perform. Is there a fix for this? Below are my blueprints and example pictures of the problem. The ship is is heading directionally to right.
Single click:
there’s something strange with the timer here - what’s the reasoning behind resetting it like that? why not just use the looping timer normally? you may have your reasons, just asking - it obfuscates functionality.
we can’t see how you obtain ship velocity
My assumption would be that the timer fires at weird interval due to the reset and adds too much ship velocity to the projectile?
The velocity is just the CMC velocity, it is gotten in the send fire to weapons image. I have tried the timer setup on looping and other ways, each way is the same result. Everything after the trimer is in a function, maybe changing the timer to loop and call that function.
Just tried the following and got the same results.