Is there a way to do this?
I’m trying to figure out how to make an animated character invisible but still block out/make invisible what is “behind” it.
Example: I have the character holding a sword and I want to make the hand (character) invisible and make the part of the sword handle its holding onto invisible also, as if the hand acts like an X-ray.
The idea is to make sprite sheets that have several equipment types for one animation and make the equipment act as a layer to put in “front” of the body animation.
You did not state which renderer you want to use. In Blender Internal, however, you can just set the transparency type to “Mask”:
Thank you! That works great.
I forgot to add something… The invisible object will still cast shadows with that method - which may or may not be what you want. To get rid of the shadows, disable “Traceable” for that material:
I don’t really need to worry about shadows since the idea is just to use the method to “cut out” character in the equipment sprites layer.
But disabling shadows still good to know for other projects I may have in mind so thanks for the extra tip.