Yes,
You can visualize the behavior tree in realtime while playing in editor.
One question, Is you player inside the navmesh with all NPCs? All actors need to be inside the navmesh volume on begin playing in editor. You can also add print strings in all functions you want to debug to check if those nodes are triggering.
Another topic that you can try is replace the node GetRandonPointinNavigableRadius by other options:
Hey OK yes all actors are within the navmesh at beginplay but I donāt see why the player character needs to be. But how do I vizualize behavior tree nodes?
I added print strings to all the nodes inside the only blueprint and they all fire, but this still doesnāt work.
The nodes fire but Iāll try those other ones now. Thanks L.F.A.
Itās really hard to tell what can be possibly wrong. I would try to create another level with a scaled plane as floor, not a landscape, and check again if works.
Just did. The navmesh is now green so I stupidly though it would finally work but nope. Looks like yet another engine breaking bug that I get but nobody else gets. I guess Iām just not aloud to learn AI
You could also try to the command RebuildNavigation inside the console or create a ExecuteCommand node on EventBeginPlay in the LevelBlueprint and hit play.
Oh I forgot about that link. Iāll try it tomorrow if nothing else will work. I tried building navigation and it doesnāt work. I donāt see that command pop up when I start typing.
The execute command node doesnāt do anything. What goes into the specific player input pin? And wouldnāt there be a letter and a period before the command? Thanks for the help
Thanks for the video, Iām just catching up now since Iām back on now and I think LFA covered everything I was thinking thus far. Iām going to be pondering this for a while. Iāll likely recreate it entirely following the same steps you did to see if I can replicate the issue at least.
Oh thank you. That could really expose something. I still donāt know why the navmesh is black. I added one to a base level with just a cube for a ground and it was green, but the AI didnāt work there either. I couldnāt remember if there was something else I had to do for that level. So yeah please me know if you find anything. Thanks!
Great, im the meanwhile, if you want a other tutoroal serie, there is a good one from Epic Games called AI State of Mind. It xomes with a complete project for download. Just search for it here in the forums.
Oh in tbus forum? OK Iāll try that. Iām gonna look into that other one that was mentioned here first. I feel like ai is disabled but only for me lol.
Hey rebuilding navigation didnāt work. So this is what a project for me to refer to when building AI? Iām gonna download it now but Iām not sure what to do with it. Thanks for the link.