Download

How to detect (line) trace hits in an actor blueprint?

I have an actor blueprint that is a selectable object. I want to highlight the object when a line trace hits it. There are many different objects like this, so I want to do it on the level of the actor blueprint and not fill up the character blueprint with a gazillion trace hit conditions.

OnComponentHit doesn’t seem to respond to trace hits (unless I’m an idiot) and anyway I wouldn’t know how to tell the difference between a trace hit, fireball hit and faceplanting the object.

I’ve been reading other people and they all seem to handle it in their character blueprint. Is there no other way that doesn’t require editing the character blueprint each time an object is added?

MAybe check out this video
[video]http://www.tomlooman.com/tutorial-multiplayer-supported-usableactor-system-in-blueprint/[/video]

Thanks. :slight_smile: