When character is sitting in a vehicle seat and you click and hold mouse button to look in another direction, after a few seconds the camera will force you to look forward again.
Is there any way to stop this happening?
When character is sitting in a vehicle seat and you click and hold mouse button to look in another direction, after a few seconds the camera will force you to look forward again.
Is there any way to stop this happening?
you could try scripting your own camera behavior, when doing so remember to set the camera to scriptable
Yeah, roblox sets the camera to track the seat by default, which is probably why you have that camera issue. What you could do is force camera tracking on your humanoid.
local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid.Seated:Connect(function(active, seat)
if active and seat:IsA("VehicleSeat") then
task.wait() --to prevent it to run before the default camera change
workspace.CurrentCamera.CameraSubject = Humanoid
end
end)