Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you use camera:Interpolate()?

Interpolate( CoordinateFrame endPos, CoordinateFrame endFocus, float duration )

1 answer

game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
game.Workspace.CurrentCamera:Interpolate(CFrame.new(10,0,0),CFrame.new(10,0,0),2)

That will smoothly move your camera to the position of (10,0,0) while facing the position (10,0,0). Note that the Cameratype has to be set to Scriptable for :Interpolate() to work.

This discussion is preserved as it was. New answers, comments, and votes are closed.