Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I set max and min zoom distance to 0?

So I'm trying to make The camera lock first person which is super simple but it seems to be broken because I also have a script running that enables you to scroll to switch tools (not sure how it's causing the problem if it even is) but when you do use the scroll wheel you are able to zoom, out the only solution I've found to this is making max and min distance both 0.5 but of course you can still scroll out of first person, is there any way I can set the zoom to 0?

1 comment

0

This isn't a request website, try including some code.

1 answer

There is actually a setting you can switch to for enabling first person, and you do not need to code. In Studio, open up the "Explorer." Click on "StarterPlayer." In the "Properties" tab, look for "CameraMode." By default it will be set to "Classic." Switch it to "LockFirstPerson." Boom! If it works please mark as answered :D

1 comment

0

I have already done this the problem is despite the camera mode being lock first person the camera is still able to zoom out for a brief second when I use the mouse wheel to scroll between tools while I'm testing, I have a script enabling swap tool by scrolling.

This discussion is preserved as it was. New answers, comments, and votes are closed.