Kinda new to unreal engine and there’s something I don’t understand. I have a bullet that is going to hit a moving enemy, so I use the Event hit and do a quick check to see if the actor is child of Enemy class. It was working well until I made the enemy moves, the bullet was hitting the enemy, but not dealing any damage to it. So I did some checks and finaly I found out that the Hit Actor, of the Break Hit Result, was refering to my bullet when the enemy is moving , which doesn’t make any sense to me. So basicaly, in my Bullet Blueprint, I have an Event Hit, that I use Break Hit Result on the Hit parameters, that is saying that the Hit Actor, is my bullet. Like it’d it itself on the moving enemy.
So I just tried using the Other (actor reference) parameters, which is directly on the Event Hit in my Bullet Blueprint, because from what I understand it’s ALSO the actor the Event Hit is colliding with, and it worked. But I don’t understand why. I thought that both Actors would be the same but it’s not and I may be searching wrong but I’m not finding the answer looking for. I might encounter a similar problem in the future so I’d like to understand how it really works.
Thanks a lot !