I've been testing a few games on ROBLOX, trying to find a game I once saw. It was a door that the player could see through, but ONLY if the player was looking straight through the door. I've done a picture to show you how it worked like: http://prntscr.com/9j141p The player could also walk through this door thus he could see the rest of the map. Now I've been wondering how this was done. I'd really much appreciate any methods or code lines that might help.
COMMUNITY QUESTION
Is there any way to create a surface that shows another part of the map?
1 answer
Raycasting to detect parts that are in front and making those visible in a local script with filtering enabled. You could also check cells in front of you with FindPartsInRegion3 and only make those parts visible.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
If you mean they're inside some sort of house and they can see outside of the house through a door, that is a building problem. If you mean there's a portal sitting in the middle of the map looking into some other part of the map, that's a problem only a few people have attempted.
And is there any way to do it?