#Second Camera with viewport

1 messages · Page 1 of 1 (latest)

ionic tinsel
#

something like this (main camera is just players camera and other camera is just whatever a part sees)

sweet narwhal
#

viewportframe

dusky root
# ionic tinsel something like this (main camera is just players camera and other camera is just...

Unfortunately you can't just 'show what a part sees' on Roblox, but you can use ViewportFrames, like Vice said. There are some guides on the Roblox DevForum, just a google away if you need help implementing that.
The basic rundown is;
Create a ViewportFrame inside a ScreenGui, with a WorldModel and Camera inside it. The ViewportFrame will show the objects inside the WorldModel, from the view point of the Camera (needs to be the ViewportFrame's CurrentCamera.) So copy the objects you want to show (your map) into the WorldModel, and move the camera to the right location.
Just be careful with this, as copying everything from your map into a viewport may be bad for performance if you have a complicated map. If it's just a basic, blocky platformer or something you should be fine.

violet lake
#

but another downside is that

#

there is no shadows and lighting

#

on there

#

on viewport frames