I'm writing a chase camera script, which sets the camera CFrame to offset 40 studs backwards.
-- Binds to RenderStep
-- Sets the camera CFrame to the plane's X and Y orientation, then offsets it backwards by 40 studs
Cam.CFrame = CFrame.new(plane.Position) * CFrame.fromOrientation(x,y,0) * CFrame.new(0,0,40)
However, since the CFrame is set every RenderStep, it's fixed to a certain position. How do I enable the players to zoom in/out in this case?
