I created a turret that fires a bullet but its not damaging my player, the turret is working and firing correctly but the bullet doesnt effect the players health.
Here is the bullets code
Then here is the code that I used for another item that both damages and teleports the character which works perfectly so I don’t know why the bullet wont work.
I would first strongly suggest testing the thing being hit to see if it is of the proper type
Out of the Other Actor do a cast to like your [PlayerCharacter], and then if that cast is successful (with an isValid() the one with the branch I find is cleaner and less buggy)
then do your ApplyDamage()
you are probably hitting the wall or the ground, or some other collider.