I’m trying to make a cutscene for a player to talk to a NPC. I want the player’s camera to tween from its current position to the position of the NPC. I’ve not found any solutions to this yet.
You need to:
- Set the camera type as scriptable
- Define the CFrame destination
- Tween the Camera CFrame to the destination
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
local tween = TweenService:Create(camera, tweenInfo, {CFrame = NPC.Head.CFrame})
tween:Play()
2 Likes
Thank you! Chaaaaracter liiimit.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.