I think I might have at long last fixed the problem of taking damage from the enemy when jumping on them. After experimenting with changing the values within the box trace’s Half Size, I haven’t had any incidents since with the player taking damage when aren’t supposed to.
However, I’m still having problems with the player character bouncing upwards when they collide with the enemy from the sides. The bouncing itself is almost certainly being caused by the Jump & Bounce event that is intended to cause the player bounce off the enemy when they land on them, the giveaway being that the “bounce” sound effect plays when the player runs into the enemy.
Enemy blueprint:
Jump & Bounce function blueprint:
The entire jump collision setup is supposed to trigger when the enemy comes into contact with the player’s underside from down below, but it would appear that the trace isn’t limited to the downward Z-axis and instead triggers when the enemy comes into contact from any angle.
Is there any possible way that I can limit the trace to a downward Z-axis?