i was wondering how to move players camera and make it so that the player cant move the camera.
anything appreciated Thank you.
i was wondering how to move players camera and make it so that the player cant move the camera.
anything appreciated Thank you.
There's a property of Camera called CameraType, which determines the functionality of the camera. One of the camera types is called "Scriptable", which when set, will disable all ROBLOX interference with the user's camera. Setting the camera type to this value, also disabled the ability for the user to move the camera by ROBLOX's default standards. Setting the CameraType is done like so:
local Camera = workspace.CurrentCamera
Camera.CameraType = "Scriptable"
That should work for what you're looking for. If you have any questions, just let me know.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
thank you.