I need help with physical objects

Godot Version

4.2.2

Question

how to make an object that will have physical properties, but at the same time you can walk through it

You will have to use unique collision layers and masks. Wow the docs are this aren’t great.

Say your world geometry (walls, floors, ceilings) are on layer 1, player on layer 2, secret walls you can pas through on layer 3.

The player will want to mask 1 and 2 to collide with geometry and players.

Everything else can mask 3 to collide with the secret walls as if it was normal geometry, in addition to mask 1 for the world, and mask 2 if appropriate for player collision

1 Like

Change its collision layer so it can collide with the world and not the player.