I’m making a custom smooth camera script for a vehicle.

Here’s what I have right now, but it only centers it one way, not following the vehicle’s direction.

local camSpeed = 0.2
local ccF = camera.CFrame.LookVector.X
local add = camSpeed * -ccF
camera.CFrame = camera.CFrame * CFrame.Angles(0, add, 0)

I need the player’s camera to follow the vehicle’s direction.

2 comments

0

TweenService is pretty good if you want smooth transitions; if you want to use CFrame you can also lerp.

0

Oh yeah! Thanks