so i made some grenades
for some reason their explosion spawns at their last hit location which is really annoying
https://youtu.be/BRL3z1_PnyAhow fix !! ! ! !!
edit: apparently calling projectile.explode(); makes its explosion spawn at its last bounce position
Why.
edit 2: got help on discord - fixed, locking thread
instead of scheduling the explosion directly, i had to make a function that deletes the projectile and then spawn a new one that would explode instantly
so basically this thread is useless