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

Help! Camera Manipulation Limit???

Hi, can anybody teach me how to set a camera manipulation limit? For example: My currently camera is at a Model but i want set the limit that you can scroll your mouse.

My currently code:

cam.CameraSubject = game.Workspace.Camera2
cam.CameraType = "Attach"
cam.CoordinateFrame = CFrame.new(1485.333,3444.659,-9139.552)
cam.Focus = CFrame.new(1494.948,3446.06,-9148.231)

This camera type just can move up and down... i want make it rotate but without move the camera forward or anything like it.

1 comment

0

Use cam.CFrame instead of cam.CoordinateFrame. cam.CoordinateFrame was deprecated in favor of CFrame

1 answer

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