Player detecting collision with a nonexistent area2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By whn2007

Hello everyone. I don’t know what is causing this issue, but I setup a collision system to check when an enemy hits the player. The collision works fine, but after the animation ends, the player still gets hit sometimes at where the collision box was before the animation ended. I disable the collision box when the animation ends, but somehow it gets detected sometimes. I turned on the collision boxes in the debug, and there are no collision boxes where the player is being hit. If anyone could help, I would greatly appreciate it.

It’s probably easiest to look at this in the running project. Is it available somewhere for examination?

jgodfrey | 2022-04-14 13:41

At least show code behind collision boxes extensions and collisions.
Also, did You make sure player does not collide with his own hitbox/hurtbox ?

Inces | 2022-04-14 20:02

Can i please have some context?

David000 | 2022-04-14 21:56