Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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?

0
This isn't a request website, try including some code. CrypxticDoge 135 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

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. imperialsnoop377 5 — 4y
Ad

Answer this question