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

Is editing Camera Types from the players camera possible?

I want to edit camera types because i dont want the Watch type to not stay at the same place and follow the player. is it possible and how?

1 answer

✓ Accepted answer

Well from a localscript you can use this to edit the camera's CFrame, Type, etc. (it's client sided of course)

Example code:

local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = game.Players.LocalPlayer.Character.Head

If that didn't help you just yet, check out roblox's source:

SOURCE

Or if that doesn't have your requirements then check out this other source from roblox:

Camera Manipulation Source

Hope this helped :D

1 comment

0

not what i was looking for, but defintely helpful

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