I’m working on creating a top-down style MMO Fantasy game but am struggling to find a decent ‘angle’ for the camera. The goal is to have enough fov to show off the map but not so much that it reveals everything or looks straight up and down, I’ve attached a screenshot of another project which appears to do the effect I’m after quite well.
Video Credit: @HBG_Prestation ( if you see this I’d love to know which numbers you’re using
The camera view shown in this video is an Isometric view (45°). For the FOV, i’d leave it as 70, but just make sure that the camera has enough distance to the player.
45 sounds decent and is what I’ve stumbled across testing, I’m more or less struggling w/ the distance / height of the camera from the player. I’m testing between 25 - 30 - even 35 studs but I’m still unsure. Any suggestions?
This is the code sample used in the documentation for the isometric camera:
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local CAMERA_DEPTH = 24
local HEIGHT_OFFSET = 2
local function updateCamera()
local character = player.Character
if character then
local root = character:FindFirstChild("HumanoidRootPart")
if root then
local rootPosition = root.Position + Vector3.new(0, HEIGHT_OFFSET, 0)
local cameraPosition = rootPosition + Vector3.new(CAMERA_DEPTH, CAMERA_DEPTH, CAMERA_DEPTH)
camera.CFrame = CFrame.lookAt(cameraPosition, rootPosition)
end
end
end
RunService:BindToRenderStep("IsometricCamera", Enum.RenderPriority.Camera.Value + 1, updateCamera)