|
| 17 Jul 2017 12:07 PM |
Hello! I have a camera script that makes the camera follow the player in only one direction. I want to make it so that when the player passes behind walls or objects that make it so the camera can't see the player, objects become somewhat transparent. I found this link: http://wiki.roblox.com/index.php?title=Top_Down_Action/Hiding_Walls but I haven't actually tried it, since my camera works differently and is not top down. So, in shorter terms, I need help finding a way to make objects inbetween the player and the camera to become kind of transparent, and I would like to make this only happen for just that player, not having the objects become transparent for everybody. Anyway to do this?
|
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 12:09 PM |
it should still work the same way
I'm assuming your camera is 2d-like? |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 12:10 PM |
Yeah, it is actually this camera but a bit modified: http://wiki.roblox.com/index.php?title=Making_a_2D_Platformer
|
|
|
| Report Abuse |
|
|
| |
|
yin_yang
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 537 |
|
|
| 17 Jul 2017 12:33 PM |
| http://wiki.roblox.com/index.php?title=API:Class/Camera/GetPartsObscuringTarget |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 12:35 PM |
So do I just add this into my camera script? Also, is it local or does it make them change for everybody?
|
|
|
| Report Abuse |
|
|
| |
|