Collisions only working on layer 3

Godot Version

4.5

Question

I have setup a very simple project with a player, a tileset and an enemy. I am trying to set up collision so that the player will not be able to walk through walls/floors etc. I have set up the tileset collision and enemy collision correctly however the player will only collide with whichever object is on layer 3. It doesn’t matter what layer I set the player to and it doesn’t matter what is taking up layer 3 (either the player or the enemy).

I cannot get the collision to work for both the enemy and the world at the same time because one has to be on layer 3. It doesn’t matter what layer I set the other thing to the collision just won’t work and I will pass right over it.

I am really struggling with this very strange issue so any help would be greatly appreciated

Show us a screenshot of what you’ve set the layers and masks for all three.

Hi, apologies for the delay I managed to get this working. In the end the solution was to make a new project and completely rebuild everything in that.

I think for some reason when I upgraded this from 4.4 to 4.5 it got corrupted in some way. All good now though :slight_smile: