I am customizing the camera settings to feel like a mobile game where the camera is set to one position and moves with the player. I’ve accomplished that (seeing as this exact script is already in the Roblox documentation) but I wish to adapt it further to fade out parts that obscure the player from the camera. Pic1 and Pic2. There seems to be a lot different camera features and I was wondering what should I be reading further into to understand and implement this feature?
1 Like
Raycast from the camera to the player and adjust the transparency of whatever gets in the way
(Not actual code, just example)
local raycast = workspace:raycast(camera.Position, character.Head.Position)
if raycast then
raycast.Instance.Transparency = 0.5
end
Set DevCameraOcclusionMode to invisicam and then set the transparency and configuration you desire using the method in solution of https://devforum.roblox.com/t/how-to-reduce-the-transparency-when-devcameraocclusionmode-invisicam/1349710/9
Took me a while to find but it ended up being a setting in StarterPlayer. Ty.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.