Just Jumping AI

Hello there! I have a couple AI characters in my game that I want to only jump and not walk. Some may encounter ledges while others will have no ledge at all. Basically I want them to Jump towards the Player and make contact with the player an do contact damage.

I have seen lots of tutorials on how to get the character to do a moveto player character but they all involve walking towards the player, I am working on a side scroller game and just want these AI characters to hop towards my player character.

Could someone point me in the right direction please? Thank you!

hi, you could use Launch Character | Unreal Engine Documentation and give it an arc, for example a Cross of (VectorRight * DirectionFacing * Influence) and VectorUp… if your ai IsGrounded it is allowed to jump…

hope this helps you :slight_smile:

cheers :slight_smile:

Thank you very much! I will look more into this! I appreciat it! :slight_smile: