How can I modifie the orbital camera mode?

Hi !
I have made a avatar editor and the problem is that I haven’t find any way to change the Y of this camera mode because I have this :
Problem6
But I want this :
Problem5
Here a video of the problem :
robloxapp-20221231-1545546.wmv (856.9 KB)
Thank you for the reply and have a nice day !

2 Likes

I really need help please !!!
Little bump to this topic !

local camera = workspace.CurrentCamera
local newPosition = CFrame.new(camera.Position.X, 90, camera.Position.Z)
camera.CFrame = newPosition

Try this ? Worked ?

1 Like

Thanks you very much but that doesn’t work I’ve found the solution myself !
Here the solution :

local RunService = game:GetService("RunService")
local Camera = workspace.Camera

Camera.CameraType = Enum.CameraType.Orbital


RunService.RenderStepped:Connect(function()
	Camera.CFrame = Camera.CFrame * CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(20),0,0)
end)
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.