How could I make a camera offset like this?

Hi devs,

I’ve tried for a few hours to get a good camera offset, but I can’t seem to find a solution.
How could I do something like this?
e

PS: If you could also explain some of the more complicated parts of it that would be great, I suck at
almost anything that involves math.

Use humanoid.Camera offset

Also i think the fov is lower in the picture

Character:FindFirstChildWhichIsA("Humanoid").CameraOffset = Vector3.new(1, 0, 0)
workspace.CurrentCamera.FieldOfView = 60

to reset it:

Character:FindFirstChildWhichIsA("Humanoid").CameraOffset = Vector3.new(0, 0, 0)
workspace.CurrentCamera.FieldOfView = 70
1 Like

I tried using Humanoid.CameraOffset yesterday, but for some reason the camera just rotated around one area and zoomed out randomly.

Do you just want a fixed offset behind the player’s character?

local Game = game
local Workspace = workspace
local RunService = Game:GetService("RunService")
local Players = Game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = Workspace.CurrentCamera

local function OnRenderStep()
	Camera.CFrame = Character:GetPivot() * CFrame.new(0, 2, 10)
end

RunService.RenderStepped:Connect(OnRenderStep)
5 Likes