UE4 AI Behavior Task Delegation

Опубликовано: 20 Июнь 2026
на канале: Ian Walsh
438
18

Added rabbits to the mix towards creating a dynamic ecosystem. Rabbits eat grass/berry/vegetation, wolves eat rabbits. created a master BP for animal with a BP component that handles variables based on the animal. each animal has 4 stages of growth(pup,adolescent,adult,alpha). a table which modifies the animals speed/sight range/and sight angle based on growth. i further added mouse controls and toggle ability to highlight predator and prey. for testing purposes, the desire to breed is increased for both animals. wolves have DNA traits for fur color thats affected with breeding. not yet setup for rabbits. still need to setup attack/flee, and fix bugs with offspring and mother sleeping. I assigned the crowd controller for the animals, took a ton of tweaking with capsule size, and ROV. ill need to add some failsafes for collision issues like a timestamp of last action, and if it exceeds X amount of time, trigger refresh of actions. right now, i can select an animal, press SPACEBAR, and force a reset of desired action. UE4 default crowd AI max is 100, i set it to 500. Level is way smaller than final result for testing, and animal age/death not implemented yet.