Tutorial Basic AI Enemy in Outlast (Updated) - Unity

Опубликовано: 16 Июль 2026
на канале: Fernida Developer
2,899
93

Hello guys, in this video I show you how to use the updated AI script. I explained it again from the beginning as in the previous video, only here there is a slight difference.
AI Move Condition: Patroling, Attacking, Waiting, Chasing.

In the asset there is a "tutorial.unity" scene in it automatically everything is set up. the scene is in the "Scenes/Tutorial/tutorial.unity" folder.
Download assets:
https://drive.google.com/file/d/10hn-...

Download animation and rigging your model :
https://www.mixamo.com/

Download 3D Models:
https://p3dm.ru/xfsearch/Outlast/

Sorry friends, there are things that haven't been explained yet, if I try to edit again it will take a long time and the rendering will take too long. So I'll list the ones that haven't yet
explained so that friends can see other video tutorials or can look at the google searching article. The methods below are very simple.
1. How to make an animator controller
2. How to create an animated event
3. How to create a state animator
4. How to create animator parameters
5. How to make a layermask
Layer Masks to create: Player, Obstruction, Crouch
6. not explained variable max time on chasing
AI variable: max time on chasing, so after the AI ​​loses sight of its target and passes 10 seconds, the AI ​​will stop and return to patrolling
7. The function of the damagetarget method is not explained
the damageTarget method used in the event animation as an example of reducing the target's blood