Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make objects turn transparent between player and camera?

I am making a game where the camera remains above the player's head and wanted to add the effect that when your character goes behind an object that object becomes a little bit transparent so you can still see what is going on behind that object.

here's an example video:

https://www.google.com/search?q=How+to+make+objects+between+player+and+camera+transparent%3F+roblox&oq=How+to+make+objects+between+player+and+camera+transparent%3F+roblox&aqs=chrome..69i57.2538j0j4&sourceid=chrome&ie=UTF-8

2 comments

0

You can raycast from the camera to your player, and make the part which the ray hits transparent.

0

how do i make such script? i never messed around whit ray casts

1 answer

how do i make such script? i never messed around whit ray casts

This discussion is preserved as it was. New answers, comments, and votes are closed.