Scripted the basic states of AI, transitions between them, returned the dialogues and slowly began to add a system of villages.
1) Artificial intelligence (AI):
- Added reaction to other NPCs and the player (head turning).
- AI reacts to the player standing in his way: bypasses or stops.
- AI now belongs to a certain village.
- AI can now sleep and work (certain animations are played).
- Added AI body/head rotation when activating dialogue.
- Implemented automatic change of activity in AI over time.
2) Dialogue:
- Returned to the dialogue system.
- Bug fixes and optimizations.
- When you activate the dialogue hero will monitor the head of the interlocutor (not to look at the floor).
In General, the basic AI is ready! I think another week to finish the different little things and I can return models and the island with the village.