UE4 Blueprints Apply Damage Lesson

In the lesson we connect the Event hit OTHER node to the DAMAGED ACTOR node under the apply damage function. Wouldn’t it be better to reference the player pawn instead of just Other? But, when I use the Get Player Pawn Function for some reason I take damage without being hit.

The other pin is a reference to the actor that was hit, that can be any actor that our projectile can collide with (including walls). So when you use GetPlayerPawn instead then no matter what the projectile hits it’ll always apply damage to the player, even if the projectile did not hit the player.