Hey everyone! I really need your help because I just can’t figure this out.
I have a BP_ItemBase (consists of a Mesh and a Niagara Effect) Actor which implements a BPI for interaction.
If I drag out said actor into the world from the editor, the Interact event fires whenever I press E and hit the Object with the line trace. However I’ve been experimenting around with the idea of dropping items on Enemy Death. Meaning: When an enemy dies, I use the Spawn Actor from Class node and spawn in the item that way.
For debug reasons, I created a Debug Key, which does exactly that. Using the ‘Spawn Actor from Class’ Node. The item gets spawned perfectly fine. When Pressing E, the Line Trace also seems to react to the item. However, the Interact Event does not trigger.
Does anyone have an idea why that’s happening and how I can fix this?
Thanks and have a great day!