How do you make it so if you look through a part it becomes transparent

So lets say you have your camera piercing through a part, how do you make it so the part becomes half transparent.

Raycasting would be the way to go for this. Have a great day

go to StarterPlayer and change the DevCameraOcclusionMode property to Invisicam

1 Like

They actually have a really nice way of doing this without having to do anything fancy that’s built into the camera. It will even allow you to find all parts between the camera and multiple targets. Once you have the parts, you want to set their LocalTransparencyModifier to 0.5. That will force the part to be transparent without interfering with its actual transparency (a window for example). They have an example of all this here:

4 Likes