Use LineTraceByChannel on difernt Actors?

Precisely. Each actor can decide for themselves what that generic message means to them.

  • if you look at a tree, it will shake
  • if you look at the door, it will open
  • if you look at the bucket, you kick it

shake / open / kick functionality would be implemented in the actor itself.


  • create the interface in the content browser:

image

  • open it and add a function:

image

  • in the Door / Window actor (any actor that needs it), add the Interface:

And then implement desired functionality.

  • when you line trace: