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

How can i change the camera of the player to a part and stay there forever? [closed]

Asked by
DashDQ 17
4 years ago

How can i change the camera of the player to a part and stay there looped forever without moving?

1
Well, this site is not a request site. But, you can use Camera.CFrame : https://developer.roblox.com/en-us/api-reference/property/Camera/CFrame.. where, you have to set Camera's CFrame to Part's CFrame. BestCreativeBoy 1395 — 4y

Closed as Not Constructive by BestCreativeBoy, Dovydas1118, and JakyeRU

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

The best way I know of to change the camera's position is by using CFrame. The only way I know of to keep it in place is by using the Fixed camera type. Your explanation is not the best but I believe you are trying to do what I show in THIS VIDEO.

This is the script if you want to copy and past it:

local camera = workspace.CurrentCamera
local desiredPosition = workspace.CameraPArt

wait()
camera.CFrame = desiredPosition.CFrame
camera.CameraType = Enum.CameraType.Fixed

This is in a local script that is in the localGui.

Ad