AI
Creatures, enemies, pets and crowds that see, hear, decide and move believably in VRChat worlds, from a single companion to dozens of wildlife.
A world feels alive when something in it reacts to you: a deer that bolts when you run, a wolf pack that circles before it attacks, a guard who heard a noise and comes to look, a pet that follows you to the kitchen. In VRChat that is hard. Udon is slow, there is no ready AI toolkit, and whatever a creature does has to look the same to everyone in the room. Most worlds settle for enemies that walk straight at you, or nothing at all.
Udonite AI is a complete toolkit for creatures with real behaviour, built to run within Udon's limits.
What it solves
- Creatures that make sensible choices: start from a ready-made guard, animal or pet with no code, or build your own brain from simple blocks instead of a tangle of if-statements.
- Senses that feel fair: they see what is in front of them, lose sight of you behind walls, notice crouching players later, hear running footsteps, and forget over time.
- Movement that holds up: walking over terrain, flying, swimming, finding paths through buildings, climbing ladders, jumping gaps, opening doors, avoiding each other, never wandering off cliffs or into lava.
- Crowds: flocks of birds, schools of fish, herds and hordes, without the frame rate collapsing.
- Everyone sees the same thing: animations, sounds, spells and where a creature is looking reach every player, including those who join later.
- Players can reach them: press Talk on a shopkeeper, pet a dog, adopt a companion. Any player's press reaches the creature, and everyone sees it turn and answer.
What you can build with it
- Wildlife that grazes, flees, flocks and hunts.
- Enemies that patrol, investigate noises, surround you with their pack and retreat when hurt.
- Companions and pets that follow you, fight for you or play fetch with a ball you throw.
- Wave defence with spawned attackers, and bosses with their own phases.
- Town life: shopkeepers, guards and townsfolk who sit on benches, keep a schedule and talk when you press them.
Used in
Pixelcraft, a survival world for up to 20 players. Its wolves hunt in packs and circle their prey, bears and boars defend themselves, deer herds scatter when someone runs at them, and chickens wander the farm, all spawned around the players and running alongside the rest of the game.
Localhost, a hangout apartment. Pip the penguin lives there: he wanders between rooms, climbs the furniture, has hobbies, plays games with visitors, helps in the kitchen and gets scared by sudden noises, so the room never feels empty.
Is it right for you?
A good fit if your world has anything that should act on its own: animals, monsters, enemies, pets, NPCs or crowds.
Not what you need for scripted animations that always play the same way, or for objects that only react when touched. Plain Animators and the free packages cover those.
What is included
- Nine ready-made agents you add from a menu and set up with no code: guards, prey animals, companions, townsfolk, and flocks of birds, fish, herds and geese. With the matching packages also melee and ranged enemies, a guardian that fights for you and a pet that plays fetch.
- IK: heads that look at you, arms that aim and reach, legs that step on their own.
- Pathfinding over terrain, through buildings, in the air and under water, with ladders, jumps and doors.
- Spawners and attack waves, and groups that share alerts and lose heart when members fall.
- Building blocks for brains of your own: moving, fleeing, patrolling, investigating, stalking, surrounding, hiding, following and flocking.
- A showcase world with a station for each feature, and a sample with a wolf pack, deer, birds and a fireball-casting mage.
- Step-by-step documentation and every future update.
It works with Combat for creatures that fight. It needs a Udonite licence and installs from Udonite > Open Window > Packages in Unity.