TileMap collision detection requirements are a bit strange #8279
SanctusAnimus
started this conversation in
2D
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So i've been learning how to use TileMaps, with physics layer etc and made an interesting discovery: my Area2D's cannot detect collisions with TileMap unless they are monitorable.
And it would make sense to me if it also required proper setup of layers and masks - but no! My projectiles (extending Area2D) have no layer set, they are intended to only scan other layers:


While TileMap has physics layer with no mask:
And with
Monitorable
set to false on Area2D, collision signals are never emitted on it, as if only TileMap is processing collisions, ignoring masks and layers. Why?Asking here instead of creating and issue cause i have no idea whether this is intended.
Beta Was this translation helpful? Give feedback.
All reactions