#projectile hitbox doesn't seem to detect collision to deal damage to mobs.

3 messages · Page 1 of 1 (latest)

hoary hemlock
#

This script was working before but somehow it broke and I don't know if it's a bug or maybe I deleted something by accident (wich is something that happened before)

I also made the collisions for mobs bigger in case that was the problem 'cause I changed the sprite and the size of it

Thanks for any help given c:

hollow gorge
#

The script looks fine, it could be something in your scene setup. Are you able to upload/share the project here?

is collision_info always null? What about collisions ? Always empty?

hoary hemlock
#

yeah it's null. I'm not that good at debugging still but I used a breakpoint after var collisions and just overlapped a bullet on a mob to check that. I also think it is something with the setup.

I actually remade the scene I use for mobs and renamed it. Changed everything on the script to match but ended copy-pasting the timer and the notifier node however can't tell if that's what messed up everything because I changed a lot before testing. Do I just .zip the project and upload it here?