How do I focus a camera on a specific part/model, but without being able to move the camera, as if its a main menu?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to be able to make a script, allowing for the camera to focus on a specific object (part or model), but its locked, meaning you cannot move nor rotate it.

  2. What is the issue? I tried “Camera Manipulation”, using CFrames, and so on, but nothing worked.

  3. What solutions have you tried so far? I tried the DevHub article about camera manipulation, but its too hard for my (noob-like) brain…

If you can teach me how, to do the camera focusing, I’ll appreciate it a lot :smiley:

You can use CFrame.lookAt() to do this.

Usage:

local CameraPosition = Vector3.new()
local CameraFocusPoint = Vector3.new()
Camera.CFrame = CFrame.lookAt(CameraPosition, CameraFocusPoint)
1 Like

Thanks a lot! I’ll see what I can do about that, provided I’m not playing TOO MUCH other games on Roblox! XD

Yes I will do it as soon as well, y’know

1 Like