Hi, I going to do something that makes people's cameras see at a specific place.
Let do some example, like the Survivor, when your team is going to eliminate someone, you'll be forced to look at a specific place, and see we're walking to the elimination hall.
I ever saw some tutorials, but it was too confusing. I know I can do it with
CurrentCamera, and change the
CurrentCamera angles. But- how? Do I need to use Field of View and
CurrentCamera angles to change them?
Every help is appreciated. Thanks.
Set your camera's CameraType to Scriptable.
Modify it's CFrame from there:
local Camera = workspace.CurrentCamera; local Target = workspace.Door; Camera.CameraType = Enum.CameraType.Scriptable; wait() --I don't know why but if you try to make immediate modifications after changing the CameraType, they will be discarded --We'll be utilizing CFrame.new(vector3 pos1, vector3 lookat) to face the camera to the door. Camera.CFrame = CFrame.new(Camera.CFrame.Position, Target.Position)
Field of View is simply like zooming in--it restricts or expands the field of vision depending on the current value.
Cameras have a CFrame property that allows for spatial modification.