I’m making a skill tree system and I would like the camera to face downwards. Here’s what it looks like right now:
Code:
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = startingCFramePart.CFrame * CFrame.new(0,10,0)
How would I make it face downwards? I’ve tried CFrame.Angles() and had no success.
Make a part and place it with its front face where you want. Then change the Camera Subject to this part, should work just fine.
CFrame.lookAt() might help:
local camera = workspace.CurrentCamera
camera.CFrame = CFrame.lookAt(camera.CFrame.Position, ['where you want it to look'], Vector3.new(0,1,0))
1 Like
I edited your code slightly, and it works like a charm! Thank you.
1 Like