Show PostProcess Outline on objects only when in range
Hello... I'm trying to automatically show the post process outline effect on objects that can be used, but only when in close range to them. So I want to set the render custom depth to on, on an object that is usable, when I'm near it. I tried to set something up...
the print strings at the end are only there for me to see, wheter or not I'm hitting anything at all. I want to replace them with the set render custom depth function, but I don't know how. I'm new to UE.
So 1: The render custom depth needs a target, that should be the object, but how do I get it set up? And set it up for all usable objects I have (but that only the objects in range get outlined, not all usable objects). Do I use an array, or a class? Can I set up a variable? And if so how?
2: I used a capsule trace by object (used it for interaction with objects, so i just tried to reuse it for the outline). is that a good idea? or is there a better solution? and what about event tick trace in general, is it too much for the performance having it run all the time?
if anyone could help me out, it would be greatly appreciated. and if you need more infos, i'd be happy to post more screens.
asked Oct 16 '16 at 08:50 PM in Blueprint Scripting
Alderbit showed me how to set it up properly. kudos to him.
answered Oct 19 '16 at 11:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here