What do you want to achieve? I want on fix the camera on A part.
What is the issue? My camera is not focused on the part. I have changed the camera type to fixed(in properties) and put the part there but the camera is easily rotatable.
What solutions have you tried so far? I have looked on the dev hub and dev forum plus exterior sources in order to find an issue.
This involved using scripts and properties to change the result.
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = workspace.CurrentCamera
repeat wait()
Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.CameraPart.CFrame
This is one of the scripts I used but it did not work.
It was local inside starter player scripts.
local player = game.Players.LocalPlayer
repeat wait() until player.Character
local Camera = game.Workspace.CurrentCamera
local camerapart = game.Workspace.Part --- Change this to the part you want
Camera.CameraType = "Scriptable"
Camera.CFrame = camerapart.CFrame