Skip to main content
New Participant
April 9, 2025
Solved

Door Colliders and Visibility

How can a door with a collider only be visible to players after they enter a room, while also allowing other players to enter through the same entrance? Like in Spy School when players reach the finish line.

PigeonNo12
Honored Contributor
April 22, 2025

Those are planes. The easier way to reproduce this technique is by adding a plane to the world (from the shapes menu), and place in a way that it looks like a wall. Now walk towards it from the side that is visible and you'll notice that it's collidable. Now go around it; first thing you'll notice is that it looks invisible. Also, walking in that direction will not stop you from passing through it. This happens because faces are only collidable from their normal side.

Upcoming Events : Build with a Mentor: Custom UI Thursday 3/20 at 5:00 PM PT Register March calendar of all Mentor Workshops and Office Hours

3 replies

PigeonNo12
Honored Contributor
April 10, 2025

Hi Player14 , can you share more details about this specific scenario please? Are you referring to the door gizmo or a shapes/trimesh door? If you can share an image of the particular location of Spy School example, that would help understanding the context.

Upcoming Events : Build with a Mentor: Custom UI Thursday 3/20 at 5:00 PM PT Register March calendar of all Mentor Workshops and Office Hours
Player14Author
New Participant
April 15, 2025

I'm referring to a shapes/trimesh door, it only appears for players once they enter the room. 

 

When player hasn't entered room: the door is not visible with door collider off.

When player enters a room: the door is visible with door collider on. Players who haven't entered do not see the door, and may go into this room.

PigeonNo12
Honored Contributor
April 22, 2025

Those are planes. The easier way to reproduce this technique is by adding a plane to the world (from the shapes menu), and place in a way that it looks like a wall. Now walk towards it from the side that is visible and you'll notice that it's collidable. Now go around it; first thing you'll notice is that it looks invisible. Also, walking in that direction will not stop you from passing through it. This happens because faces are only collidable from their normal side.

Upcoming Events : Build with a Mentor: Custom UI Thursday 3/20 at 5:00 PM PT Register March calendar of all Mentor Workshops and Office Hours