Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there any way to create a surface that shows another part of the map?

Asked by
Wutras 294 Moderation Voter
9 years ago

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.

0
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. 1waffle1 2908 — 9y
0
And is there any way to do it? Wutras 294 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

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.

Ad

Answer this question