Ian Shadden shows you how to setup interactions between Behavior Trees and AnimBlueprints to perform complex moves such as mantling over objects in the world. He will also cover general optimization techniques you can use to reduce the cost of your AI.
Tuesday, Sept 29th @ 2:00PM-3:00PM ET - Countdown]
Ian Shadden - Sr Training Content Creator
Feel free to ask any questions on the topic in the thread below, and remember, while we try to give attention to all inquiries, it’s not always possible to answer everyone’s questions as they come up. This is especially true for off-topic requests, as it’s rather likely that we don’t have the appropriate person around to answer. Thanks for understanding!
Edit: The YouTube archive is now available here](Complex AI Interactions & Optimization | Live Training | Unreal Engine - YouTube)
Awesome stream topic, specifically optimizations.
I’m using alot of NULL Nav Modifier volumes to cull out alot of areas that I don’t want navmesh generated. I also place several “OBSTACLE” Nav modifiers to steer navigation from high cost areas. Is there a downfall to using many Nav modifier volumes? I figured the NULL volumes are helpful to reduce navmesh size.
Why can I rotate & shape Nav Modifier volumes to affect navmesh generation and not the Nav Mesh Bounds Volume itself? After developing with these volumes, it would be simplier to just change the shape and rotation of the Nav Mesh Bounds Volume to better fit my landscapes.
Thanks, can’t wait for the stream! =)
this may be out of scope, but say our AI is controlling a bunch of character enemies in a open world - how would EPIC optimize enemies that are far away? do you destroy them and re-create if you get close? do you hide them? I assume its not jsut the AI that consumes CPU - its the actual character
sounds great, we’ll be there
How do we use Gameplay Tasks and is it safe to use them or are they still in development?
Are you still planing on implementing navmeshes on moving platforms? Trello
Would it be possible to “bake” navmeshes offline and attach them to an actor as a component?
Thats more of a feature request
Thanks for the stream. Always love getting more AI insight.
Is it possible to time slice large numbers of AI through an AI manager and if so how would you do this?
There is a performance cost of working in blueprints because of moving from the VM to code and back. Does this also apply to Behavior Trees?
Thanks for the nice stream, so here a few more question which were not answered in the stream (for Ian or anyone else who wants to answer them):
- I saw this in Trello:
I guess it will be in 4.10? How does it compare to the old RVO avoidance and to the detour crowd avoidance? What are the benefits of the new RVO2? When to use which one?
- Question from Hag_Nasty which was not answered on the stream:
- And maybe this one too from HeadClot:
Heard back from Lukasz: Core stuff will remain the same, however the algorithm is changing to ORCA, and they’d like to do nav mesh edge detection.
Sry I am late, but due to my slow internet connection I cannot participate in the livestreams, and I have to watch the YouTube replay.
I’ve just watched the AI stream, great job!
I have a small question I was hoping you might help me with.
I would like to know how can I do the following in blueprints and the Behavior Tree.
The player has different states that are placed in an enumeration :
I want a classical switch-case scenario in the behavior tree, where each case corresponds to a state and has its corresponding Tasks.
The way I was implementing this, is having for each state a bool value in the blackboard, and each time I change the AI state I have to set all the other bool variables to false, except for the one I am using. Then select the corresponding task by using a blackboard based condition decorator.
Is there a switch decorator?
I know there is a simpler way to implement this, and I would appreciate your help.
would it be possible to make the project available to have a deeper look at that first behavior three(it’s huge )?
It would be really cool if we could get this project, it’s years old now. At the very least could we see the behavior tree? I think this should be in the learning tab by now. Please, it would be helpful.
I’m still hoping this project can be made available for others to learn from. Advanced AI training is quite sparse so please! If you can release it that would be awesome!