Need help with Viewport Frame

I don’t know how to position the Camera so it faces the character

Camera.CFrame = CFrame.new(Vector3.new(0, 2.5, -11, Head.Position)

You probably want to offset it, then point it at a position.

local offset = CFrame.new(0,11,-2.5)
local rootPart = character.PrimaryPart
camera.CFrame = CFrame.new( (rootPart.CFrame * offset).p, rootPart.Position)
1 Like

Thanks so if I add the offset does it mean the cframe goes from world to object space?

When multiplying a CFrame to an existing one, you are applying it in object-space coordinates.

1 Like