#Area2D not colliding with another area despite intersecting

1 messages · Page 1 of 1 (latest)

crystal temple
#

I am trying to have instanciated particle-like nodes to collide with an object using it's hitbox. The hitbox is slightly bigger than the world collision shape, yet it doesn't trigger an area_entered signal unless I make the hitbox shape much bigger. Will post the images in a moment.

#

My particle node is a rigid body. It uses the collision shape for static world collisions, the hitbox is for my desired collision layer.

#

The object I want to interact with is this. All collision shapes here are the exact same size. HurtBox is the target here, and the layers/masks should be correct given that the collisions do work with a larger particle hitbox shape

#

Currently the particles collide with the static world, not triggering my hitbox/hurtbox detection.

#

If I make my particle hitbox size much larger, suddenly it does collide with the hurtbox, despite already being bigger than the static collision shape

#

So I'm confused as to why this is happening. The hitbox is already bigger than the static collision, it should be entering the hurtbox area first. Even after dragging on the wall, the area_entered signal never gets called, so the shapes are intersecting yet colliding.

#

Area2D not colliding with another area despite intersecting