Identifying object type in a line trace

Pretty much, yes.

I don’t have access to my project right now, but I did the following:

  1. Create a Blueprint Interface and declare an OnClick function
  2. Have both my Character and Item implement the interface
  3. In my PlayerController after the trace, I called OnClick with the HitActor as target
  4. For the Character, OnClick handled selecting characters
  5. For the Item, OnClick handles pickup (if the currently selected character is in range)