#Cant detect collisions in my tileset

1 messages · Page 1 of 1 (latest)

lament terrace
#

Do you have your signal connected to a method? Can I see it? (the _on_area_entered() or whatever you've called it)

woven smelt
#

Dw, its fixed now

lament terrace
#

Ah no worries, glad you got it solved anyways!

woven smelt
#

For anyone struggling with the same issue: At this line of code you must set the layer number in binary: var query = PhysicsRayQueryParameters2D.create(a_point,b_point, 1 << 3) query.exclude = [self, vision_poly]

#

1 << 3 is equivalent for Layer 4