Author Topic: help with projectiles  (Read 289 times)

so i made some grenades
for some reason their explosion spawns at their last hit location which is really annoying
how fix !! ! ! !!

edit: apparently calling projectile.explode(); makes its explosion spawn at its last bounce position

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  :cookie: :cookie: :cookieMonster: :cookie: :cookieMonster: :cookieMonster: :cookieMonster:
« Last Edit: August 08, 2020, 07:38:33 AM by adel »