Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I Make a Custom Smooth Follow Camera?

Asked by 4 years ago
Edited 4 years ago

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.

0
TweenService is pretty good if you want smooth transitions; if you want to use CFrame you can also lerp. BlackOrange3343 2676 — 4y
0
Oh yeah! Thanks Reset4462688 0 — 4y

Answer this question