Return to Squid's World

Return to Squid's Godot Tutorials


Collision Layers and Masks

Tired of the other tutorials making it more complicated than it actually is.


Collision Layer

This is the collision layer the node is IN


Collision Mask

These are the collision layers the node will CHECK for collisions


Scenario:

Enemy is to collide with walls and player but not other enemies?


Solution:

Enemy is IN collision layer "enemies"

Enemy is CHECKING collision masks "walls" and "player"


Return to Squid's World



/tutorials/godot/