How would one go about making a custom camera system (3rd person)

At the moment I’m trying to make a camera system but don’t know where to start and there’s a lot of things which I don’t know how I would do, one main thing is holding down right click to move the camera around the players head. Any information would be appreciated.

Thanks!

2 Likes

You could try studying the built-in camera code in the PlayerModule which Roblox inserts automatically. Run your game and look in game.Players.jake_4543.PlayerScripts.PlayerModule. Copy that, stop the game, then paste the object so you can look into it. It’s split into two parts - character control and camera control.

The first step to manipulating the camera is to set CameraType to Enum.CameraType.Scriptable. Then it’s just a matter of coding up how you set the Camera’s CFrame and Focus. CFrame.lookAt can be helpful, knowing some trigonometry can also be useful if you’re trying to get specific angles and stuff.

5 Likes

That’s a good idea never thought to do that, I’ll check that out.

3 Likes
1 Like

You don’t just link an article without any other information kind of no point to responding then.

12 Likes