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

How would I make it so your camera can't zoom through transparent blocks?

Asked by 6 years ago
Edited 6 years ago

Hey, this is a method request! If you zoom out on your camera, you would notice that you can zoom out through transparent blocks, How would I make it so this is impossible without changing the transparency from 1? Any wiki links or script examples would be helpful, thanks so much!

0
Edit: Changed title from see through to zoom through. DaWarTekWizard 169 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Try changing the transparency a little bit in an block with the "Ice" material such as:

game.Workspace.DaWarTekWizard_Part.Material = "Ice"
game.Workspace.DaWarTekWizard_Part.Transparency = 0.000000000000000001

Not sure if it will work but worth the shot right?

0
Sorry for not replying, I just tested this now. It didn't work. Need answers DaWarTekWizard 169 — 5y
Ad

Answer this question