Here is a demonstration of a bird flocking system. This system includes intelligent behaviors such as,
- Move around on ground.
- Detecting threats
- Alerting others in the flock
- Flying away in sky in unison.
- Come back and land on ground after cool down
Here, the flock of birds will be on ground initially and when one of the members in the flock detect a threat, that bird will fly away and alert others resulting everyone in the flock to fly into the sky. After a while, the will come back and land on ground.
I originally developed the wind material setup in unreal engine 4 and full tutorial is available in following link as a part of unreal open world series. You can follow the same tutorial in Unreal 5 As well.
Bird NPC: Unreal Bird NPC - YouTube
Unreal Bird NPC- AI Controller & Fly Away: Unreal Bird NPC- AI Controller & Fly Away - YouTube
Unreal Bird Flocking Behavior I: Unreal Bird Flocking Behavior I - YouTube
Unreal Bird Flocking Behavior II: Unreal Bird Flocking Behavior II - YouTube
https://dev.epicgames.com/community/learning/tutorials/Xxbe/unreal-engine-5-bird-flock-system