How do I make the Camera able to be controlled by the player?

What I’m trying to do, but have no success, is, when the player (presses a button, or triggers a proximity prompt, anything really), I want the camera of the player to lock onto a specific part.

All this I already have done, but the issue is, when the camera type is switched to Scriptable it goes into “first person” and I can no longer control it.

Basically what I’m trying to say is, how can I have a controllable camera, but instead of the camera on the player, the camera is on a part.

Kind of a rough explanation, but I hope you got it.

Any help is appreciated!

I kind of understand what are you trying to say.

So

  1. You’re trying to make the player’s camera to lock on a specific part and at the same time you want it so you can control it while the camera are lock on the part.
  2. You also want it to make the player’s camera lock on the part when the player presses a button, or trigger a proximity prompt.

My guess is that you’re trying to make a CCTV.

1 Like

You can change the CameraSubject property of the players camera with a local script.

1 Like

Pretty sure this is the solution.

1 Like

Sorry for the late response, but this works perfectly!

Thank you!

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