Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Trying to make camera focus based on part rotation?

local target = workspace.Part
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
camera.CoordinateFrame = CFrame.new(target.Position)
camera.Focus=CFrame.new(targer.Position)

Please tell me why this doesn't work and how I can fix it? I want to camera to focus the same direction the front face of the brick is.

1 comment

0

Also, ignore the spelling error... Even correct it doesn't work...

1 answer

Well one, you spelled target wrong in your code you spelled it "targer".

This discussion is preserved as it was. New answers, comments, and votes are closed.