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

How to make camera move between parts? [Solved]

I am not very new to camera cutscenes, but I am new on "Camera Interpolation". What I'm trying to do is move the camera between two parts - no fancy rotations or whatever. for example: the camera slowly moving across the floor for dramatic effect. I've googled it, researched it, nothing. I came across a Roblox Wiki article about it, but when I try to modify it, it always starts from the center of the map and then goes backwards torwards part "1" .

What I've tried:

local TweenService = game:GetService("TweenService")
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable

local tween = TweenService:Create(
	camera,
	TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.In),
	{
		CFrame = game.Workspace.CutScene["1"].CFrame,
		Focus =  game.Workspace.CutScene["2"].CFrame
	}
)
tween:Play()

what it does

wiki: here

1 answer

I solved it myself by using TweenService, this way, I did not have to have a focus object that Camera Interpolation used, I could just move the camera from one point or another. Video I used: YouTube

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