💾 Archived View for squid.flounder.online › tutorials › godot › collision_layers_and_masks.gmi captured on 2024-06-16 at 12:33:08. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

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