- Home /
How can I make a character disappear from view from one side to the other?
A picture is best for this one:
It is what you think it is. Moving through a portal, which will relocate the character to a distant position.
As shown by the "Angle" picture, the camera could be looking at this from any direction.
If the portal is completely between the camera and the green ball, blocking the view, then the green ball won't be visible but it still has to not come poking through the back of the portal (which the camera can see).
Answer by DanJC · Apr 25, 2013 at 01:57 PM
I should have looked harder on this one.
A working solution I've found is here: http://answers.unity3d.com/questions/330127/hide-objects-with-a-clipping-volume-or-plane.html
Fancier effect that I haven't tried is here (check out the Youtube vid too): http://forum.unity3d.com/threads/34508-Simple-Cross-Section-Shader