How do I mask an object so that it does not appear went it goes behind a certain space? For example, I want to animate a rod and make it go partially behind a donut shaped object (with a hole in the middle). I don’t want the rod to appear in the hole, however, but only to appear on either side of the donut.
This is what I get:
This is what I want:
(the brackets are the donut)
Oh ya, I also tried that tutorial on BlenderWars but it didn’t help.