Hi guys, i have this problem where if the player camera is a bit far away from some parts which Y-Size is 0.1 (in my case), they’ll become transparent. I’ve searched it up a little bit but couldn’t find a solution…
Here’s a video:
Hi guys, i have this problem where if the player camera is a bit far away from some parts which Y-Size is 0.1 (in my case), they’ll become transparent. I’ve searched it up a little bit but couldn’t find a solution…
Here’s a video:
This is an example, not sure if it will work.
workspace.Camera.CFrame.Position.Changed:Connect(function()
local pos = workspace.Camera.CFrame.Position;
local distance = math.floor((pos - workspace.Part).Magnitude);
workspace.Part.Transparency = distance / 100;
end)
Not sure if it completely fix the issue but I found out that if you make parts a slighty (like 0.010000021) transparent that will not happen no matter how far camera is. However this would make part not being visible through transparent glass so I dont think this is solution.
it kinda worked, thank you for your help, i appreciate it!