@Meshii Hey, it might be because your acceptance radius (the maximum distance to apply damage) is not enough. Remember Unreal measures distance in centimeters and 5 centimeters is close to nothing. Specially considering that you are counting from the center of one actor to the center of the other (assuming that the root of the actor is inside their collision volume).
Still, you could have your damage code in the Tick function, because what you have now should work at the time that the enemy reaches you, but if you stay in proximity to him he wont try to attack you again unless it generates a new path to follow.
Here is an example of what I mean. But be careful that this code doesn’t consider a timer between attacks. You should definitely add one so that you don’t apply damage on each tick.
If your question was resolved please mark this thread as resolved ![]()
