We made an interactive demo to help you wrap your head around collision layers and masks. This video shows you around the demo and gives several examples of collision layers and masks.
Use the panel on the right to toggle the layers and masks of the scene’s physics nodes. Move the character around using the WASD keys to see how the different nodes interact.
You can find the demo in the godot-complete-demos
project. To open the demo scene, press
Ctrl+Shift+O and search for
LayersMasksDemo.tscn
. Then, press F6 to run
it.