Hello everyone,
I want to completely disable the zoom in camera fade as I’m currently working on an isometric view game in third person (example below), and if it’s possible, disable the cursor being stuck in the middle.
I’ve zommed with my mouse wheel, but zooming in with “I” and “O” does the same thing.
I have imported the “TransparencyController” script from the main Roblox camera script, but I don’t know what to modify, I have followed this guide on the devforum:
Connect a function to RenderStepped in a LocalScript, that sets every BasePart’s BasePart.LocalTransparencyModifier that is a descendant of the Player’s Character to 0.
EDIT: Fixed small typo
local player = game.Players.LocalPlayer
local character = player.Character
character:WaitForChild("Head")
game:GetService(“RunService”).RenderStepped:Connect(function()
for _,v in ipairs(character:GetDescendants()) do
if v:IsA("BasePart") then
v.LocalTransparencyModifier = 0
end
end
end)