Do you think you could record some video of what’s going on? Also, add in a printstring for “IsAttacking = False” to make sure that it isn’t just because your “IsAttacking” bool is true.
@Mind-Brain Hello, so while i was waiting for the forum to get updated i got first part of teleporting the player to the enemy. as u can see in the video.
My first problem starts at 00:30 where my player at the start of the game when pressing it just goes off map (its going to the world origin if im correct).
My second problem at 00:40 as u can see the player sticks to the enemy for some time before becoming free.
Thank you in advanced for helping me
So this here should help with your world origin problem.
The issue is on start, enemy target isn’t set. So we just need to check that it is indeed set before continuing the code, like so:
As far as the sticking to the enemy, that is where your attack animation would be playing. If you’re just trying to zoom to them, that’s different.
@Mind-Brain Ah i see let me keep working on it. About the animations, do I play them with montages? If so, then how will it play? do i put it after the player is teleported to the enemy and make a combo for different type of punches, if I make the combo, then how will they cycle through them. These are my doubts i hope u can clarify them if that’s ok with you
The animations are an entirely different beast. You would begin to play them through a montage when you activate the movement. You may want to check in that forum thread you found originally for more info! There’s a lot there that was built over several weeks. Pull not only from my posts, but the OP’s posts as well!
Dam that’s really well done thank you for linking it, i did stop making the free flow and been learn other parts of ue wen i continue to make it and not able to make it on my own i will get the asset ty.