Issue with setting the camera

  1. What do you want to achieve?

I want to set my camera to be into a duck mesh i made

  1. What is the issue?

I can’t zoom in. and the camera keeps looking weird. My part is moving and i am setting the CFrame every second and thats probably why but how can i achive this?

  1. What solutions have you tried so far?

Tried looking more into this but didnt find any awnser

-- LOCALS --

local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer

-- CAMERA --

repeat wait() until Player.Character

while wait() do
Camera.CameraType = "Scriptable"
	Camera.CFrame = game.Workspace.Ducks["Rubber Duck"].Part.CFrame
end

I want it to act like a normal player camera but with a duck model

Change the camera subject instead, from the documentation:

CameraSubject accepts a variety of Instances. The default camera scripts respond differently to different CameraSubject types:

2 Likes

Thank you! didnt really know it was that simple

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.