Ai defense system

If an enemy attacks my character I want my drone to spawn a shield.

How do I get the location where to emit the shield?

Any suggestions?

Try putting an invisible actor in front of your character and use that as location referrence. Just a simple hacking might be helpful. :wink:

This wont work if my character gets attacked from the back.

I would need a sphere collision and if the line trace overlaps it, I have the location where to spawn my drone.

solved. thank you anyway