Camera Manipulation - Torso body camera

Hey there Developers!

I’ve run into a predicament… I have no idea how to script Lua. Nonetheless, that isn’t stopping me, so I need your help.

I’m trying to make an FPS game where the player’s camera is a bodycam, hooked onto the upper torso.

Any help will be appreciated. Thanks!

Let me know if you need any more info.

Well you can easily have a camera’s cframe view be the view of the part, so for example, the bodycam. You just won’t be able to turn the camera around. To do this you’d do something like:

local cam = workspace.CurrentCamera
cam.CameraType = Enum.CameraType.Scriptable
cam.CFrame = [“BodyCam”].CFrame

1 Like

On further reading, it will be very hard to make an FPS game without scripting knowledge, but I wish you luck!

1 Like

Thank you, but I don’t know where I’d put this, or how to execute it, etc.

LocalScript in StarterCharacterScripts?

And what do you mean I won’t be able to turn the camera around?

When you hold down the right click, or use shiftlock. The camera won’t move, but it will move with the body cam. So depending on where you’re facing

Or starterPlayerScripts


Alright. I’ll test it out and get back to you as soon as I have a chance. Cheers!

Update: It does not work as intended, there is an error at [“BodyCam”].CFrame

You didn’t have to actually put [“BodyCam”], I meant that there you had to put either the variable of the BodyCam or where the body cam is located. Sorry if that was vague