So I’m kind of a newbie on camera manipulation and I am wondering on how I can make the players camera appear 2 studs above the players head?
This looks like it’s in ego perspective, but I guess you want something like that:
local CurrentCamera = workspace.CurrentCamera
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local head = character.Head
local runService = game:GetService("RunService")
runService.RenderStepped:Connect(function()
CurrentCamera.CFrame = head.CFrame * CFrame.new(0, 2, 0)
end)
2 Likes
Put this in a LocalScript under StarterPlayerScripts in StarterCharacterScripts.
1 Like
or change the camera offset of the property of the players humanoid
1 Like
Check out some of the previous responses
https://devforum.roblox.com/search?q=top%20down%20camera%20%23help-and-feedback%3Ascripting-support
1 Like
just change humanoid.CameraOffset if you plan to keep default roblox camera scripts
place a script in starterplayer > startercharacterscripts and put this:
script.Parent:WaitForChild("Humanoid").CameraOffset = Vector3.new(0,2,0)
2 Likes