Training Livestream - C++ Q&A - June 27 - Live from Epic HQ

My biggest #Question is what function do I need to call to get my AI pawn to jump from location to location without a NavLink (proc gen makes those a non-option for me). If I call Jump() from its movement component, he jumps in place without navigating. I followed [this](post by but I don’t know how to make the pawn jump along that path! I will ask during the live stream too in case you guys don’t see this! Thanks!
[/QUOTE]

So it sounds like what you need to do is add velocity to the AI. Basically, jump adds upward velocity only and the forward momentum is created by the character’s movement. The AI’s says “Go to Location X, then execute Jump()” so it goes to vector X then stops, then jumps in place.

What you’ll need is instead to see that the goal vector is on another nav mesh (You’ll do a check for if the vector’s location is navigable, if not then it’s off the current navmesh) and then move the AI as close as possible, then add velocity to the AI in the direction of the vector and with appropriate force.

I would recommend just using the NavLinks however and also if you want to see real examples of it working you can check out the Robo Recall mod editor on the launcher.