I want to make a camera follow a mesh, or a part. Exactly the same to this:
Its a DanTDM video
I want to make a camera follow a mesh, or a part. Exactly the same to this:
Its a DanTDM video
Would this work?
local RunService = game:GetService("RunService")
local Part = workspace.Part
local Camera = workspace.CurrentCamera
RunService.RenderStepped:Connect(function()
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = Part.CFrame
end)
You could change camera type to follow and set it to the part you want to follow, add a camera offset if you want it to hover above.