Camera Manipulation Question

  1. What do you want to achieve?
    I want to have a camera offset by some amount and make it visibly stay on the character’s right side regardless of the character moving/turning.

  2. What is the issue?
    Whenever I move, my camera object seems to be stuck on the right side of the character where the camera is always focusing at.

  3. What solutions have you tried so far?
    Unfortunately, I don’t have a solution as I don’t know how to ask this question to find my answer.

Below is the current code I have:

Players.LocalPlayer.Character.Humanoid.CameraOffset = Players.LocalPlayer.Character.Humanoid.CameraOffset + Vector3.new(2, 0, 0)
1 Like

You need to keep moving it, you are running it once so it gets placed there, but when the player moves it is no longer right. Put it inside of a RunService.Heartbeat or something along those lines.

I just tried putting it under RunService.Heartbeat, but it still has the same result.

A simple google search can give you many, many results for this. Even the Devhub has an entire script for this if only you felt like searching before spontaneously posting an entire topic.

1 Like

Thank you for providing this video. This helped solved many other follow-up questions I had in mind. I will try to refer to solutions from other problems people had in the past, but it’s not guaranteed I will not ask again if I cannot find a solution (even though the solution is probably right in front of me hiding).