for first time ai controller with navmesh and siimple pawn.
No errors compiling any BP’s, but on play, with navmesh in place, the pawn doesnt come to find me as in tutorial.
Using world comp with atm with 4 terrain tile world.
Not newbie, but far from longtime coder, any idea how to fix ?
I was looking fwd to the bot coming after me , funny
Hello,
I just tried everything shown in the video and it does work. You might have missed something. Double check AI Controller Class setting inside your pawn and make sure your function from AI Controller is looping.
This is how your cube (bot) should look like.
I was thinking about the nav mesh too. Try making it a bit bigger (going underground even) and if that doesn’t help maybe just delete it and recreate nav mesh all together.
TY don for posting, here are images of what you were asking about as it looks good to me, if not enough just let me know I"ll upload a few more. First time doing AI , but I see nothing missed.
I wonder if the navmesh is having a hard time tracking the sculpted layout of terrain , causing this or maybe its 4.25.3 , or face I’m using world comp ?
ya ouch I wondered about event tick, I accidentally removed that as OP did in ONE of them, I wondered if maybe that was it but initially figured why as I’d not changed anything per se, but ya I guess maybe so, ty for reminding me , TY so much for youtube you’re quite incredible
Gotcha on nav mesh also, I’ll let you know later as I have time to deal with this.
These two nodes at the start don’t do anything so it’s not really relevant. Movement is handles by the controller blueprint. They’re there just to make things easier and give you a start point (eg. event begin play). It should work if you have nav mesh in your level and you’ve set the controller right.
If you’re looking to setup a humanoid bot of some sort, I suggest you use character blueprint instead of pawn as it already has a lot of useful functionality built in.
OK hm, well, it DOES work fine as I’d expect when I just use default thirdperson exampler that comes with ue4 out of box, wow cool ! haha
Which has me wondering is this all about, since its not the code, about placing it perfectly when using terrain ??
I"ll update as I find answers able to relax some. Oddly though its not LOOPING, it comes at me once pinning me to wall and just stoops, but I do have looping on. Maybe looping isn’t what I think it is. anyway latre and ty as always for being here to help.