How can I make an object partly invisible upon entering another object with collision?
he title may be a little confusing but here is the scenario that I am trying to accomplish:
I have an object with a trail renderer. The object is moving along and I dont want want to destroy the trail renderer but I want the trail renderer to be invisible inside of the collision that it enters. Is there anyway to do this? I can also use lines or something if this is possible. What i've tried to do was subtract time from the trail renderer for every second that it is in the collision but this looks really funky and is very difficult to calculate.
Thanks for any help.
Comment