I am trying to make a script where when the camera is in first person inside of a vehicle seat then the camera is inside their head, normally it is way above that, I tried using the humanoid but that didn’t work. So then I tried using the torso and that didn’t work either. The chassis I am using for the vehicle is A-Chassis
car.DriveSeat.ChildAdded:connect(function(child)
if child.Name=="SeatWeld" and child:IsA("Weld") then
Torso.Anchored = true
workspace.CurrentCamera.CoordinateFrame = CFrame.new(Torso.Position, Torso.Position-TorsoLookVector)*CFrame.new(0,0,10)
end
end)
As @anon63380570 said when you are zoomed out it looks something like this:
But when you are zoomed in all the way (in first person basically) it looks something like this:
In a nutshell what I am trying to do is so that the camera is inside of the vehicle, not outside
Just set it’s CFrame to the Head's Position, I’m pretty sure I don’t follow either? OR you could change the CameraOffset to Vector3.new(0, 3 0) inside the Humanoid
He is referring to when you’re in a vehicle and you zoom all the way in to try and be in first person, the camera sits above the player instead of in the player’s head.
car.DriveSeat.ChildAdded:connect(function(child)
if child.Name=="SeatWeld" and child:IsA("Weld") then
if player.CameraMode == Enum.CameraMode.LockFirstPerson then
player.CameraMode = Enum.CameraMode.Classic
humanoid.CameraOffset = Vector3.new(0, -50, 0)
end
end
end)
There is a really easy solution with no scripting. Go to starter character scripts or something like that, change the max view to 0.05. It will lock on the head