What do you want to achieve?
I would like to prevent the player from looking on the Y axis, but I want the X and Z axis to stay the same.
What is the issue?
This stuff in this video is exactly what im trying to achieve, but nothing seems to hit the mark.
What solutions have you tried so far?
I have tried restricting the field of view, setting the position of the camera relative to the player, but it doesnt work (And also looked through devforum)
I dont need the entire script or anything, i would appreciate it if you could tell me some ways on which i could approach this
Bind to render stepped , Last priority, and just force the pitch of the camera to 0 every frame. This is probably the easiest way, since ROBLOX will still handle all the different types of inputs for you.
Make a LocalScript in StarterPlayerScripts called “CameraScript” and implement the entire camera script yourself. You can run a game first and see what the default one is, and then modify it to prevent y-axis. This is probably the “right” way, but it’s gonna take some work figuring out what ROBLOX’s monster of a script actually does.
Thank you for the link , but this isnt exactly what im trying to achieve , i would like the player to be allowed to change their camera angle on the X and Z axis, but i do not want them to change it on the Y axis, do you know how i could do this by any chance?
Oh yes! Thank you so much for this, i didnt even know about this, i spent more than 5 hours trying to come up with a way, and all i had to do was change a small setting