Viewing a place from a part (similar to something like a cctv screen)

Hey so I want to make portals in my game that players can use to travel. I thought it’d be a nice touch to make it so the player can view the location through the actual portal.

e.g I spawn a portal in that takes me infront of a house. Before I touch the portal I can look inside and I will see this house.

I’ve seen it done before so I know its possible. How would I go about doing this?

1 Like

Research on ViewportFrames. They allow you to place a GUI on a surface or on a players screen and display objects through it.

1 Like

I think what you trying to make is this game which is Editable take a look

1 Like

Set the CameraType to scriptable and then set the camera’s CFrame to the CFrame of some part.