Hey guys.
In a nutshell, I have an enemy move towards a player and when it overlaps with the player it gets knocked back a certain amount. When I place a BP_Enemy (based on c++ class) into the editor this functionality works perfectly.
I created a gamemode (c++) to spawn these exact actors on certain times and locations. I have assigned the BP_Enemy (Same as the one placed in the editor of course) as the type to be spawned in using the gamemodes bp.
The spawn works great, but the spawned actor just walks into the player and never gets knocked back. heres the thing, when debugging, my overlap bp shows the flow of code actually working and flowing into the “Knockedback” function.
The spawned enemy takes damage and everything else correctly but the collision seems to “register” but not actually work. At the same time my placed in editor enemy is working correctly in the same play.
Not sure what screenshots would be helpful here as I know the BP, c++ code, collision profile etc are working correct on the BP_Enemy when placed in the editor.