so I got as far as this…
so the outline gets visible / render custom depth gets ticked, when i’m near the object,
but it doesn’t get unticked when i move away.
it gives me an accessed none error for the unticked custom render depth, i don’t get
how to make it work.
could somebody get me started in the right direction.
and still is there a cleaner way, because i think this is all really clumsy set up.
because now every object i want using this has to come from the same blueprint (highlightable objects)
and not just a static mesh in general. could I maybe use a custom trace method for static meshes?
tried that as well, which worked for half of it. the outline appears when i hit the object but it doesn’t
un-outline it anymore, when i look away and i get the same accessed none error.
still this direction looks a bit cleaner.
does somebody has an idea? or a different, more elegant solution?