How to make a AI wander around in the air.

So I’m doing Ryan Laley’s AI tutorials, but that’s for movement on the ground, my funky robot guy (named jake) is suspended in the air, how do i get him to wander around?

Hey there @SSneakythief! So if you’re talking about Ryan’s navmesh based AI videos, the setup isn’t quite going to work because navmesh really just wants a spot on the ground to guide by. So instead you’d probably find a random location in a range, then trace to that location to verify the path is clear, then move the character to it depending on if you’re running floating movement or not.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

For the location you can use random point in bounding box (you don’t need the collision, he just used it for demonstration).

However if you’re not averse to third party plugins here’s a video that goes over a plugin that can handle 3D navigation: