Help with collisions - they just don't work!

Godot Version

4.3

Question

Hello, new to godot. I am trying to make collisions - they just don’t work.
I want some specific tilesets to block the player. My movement script in picture.

image

I’ve also tried to set-up tile-set collision. Player is set as collision layer 1 and collision mask to 2,3. What am I doing wrong???


I really tried a lot of things - nothing seems to work. I also watched tutorials, do it like them, still no clue why it’s not working.

As all seems good, do you have yellow asterisk near Player node?
image

You can turn on collision shapes in the debug menu which can be helpful when checking collisions.

Yeah, didnt notice that! I had 1 error and boom, everything is working. Thanks!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.