How do I make a wall to bar the player from going somewhere?

I’d like to keep the character off of the shelves and the table. Is there a way to do that??

There is condition
In collision

And action
Separate object

You check if player is in collision with shelves and if so separate player from shelves

BUT i would add object group called Furniture
And do it to Furniture
Instead of Table and Shelves separately

1 Like

Can the character move forwards and back? If so then in addition to what @ZeroX4 wrote, you’ll either need to adjust the collision mask for the character so it’s just around the feet and or use a second hitbox. You can then use collision detection to prevent the character from walking on furniture.

1 Like