#141 Multiple AIs - Unity Tutorial
Multiple AIs - Unity Tutorial
GameDev Course by Roundbeargames
- Using state machines / animator states
- Unity NavMeshAgent / pathfinding
- 2.5D platformer / sidescroller
Pls fix BlockCharacter → BlockingCharacter
Sorry for the spelling mistake!
AI goes through a rather simple iteration until it gets to the player. We're using Unity's default NavMeshAgent to find the connecting points between different platforms. We toggle Jump/MoveLeft/Right depending on the position of the target/AI/NavMeshAgent.
This is only the beginning for enemy pathfinding. Later we'll have add details and variations to make AI movements smoother.
Files are available here:
Download this project:
Custom animations designed by Wemakethegame:
Any questions/comments? Join us on discord:
Posted using eSteem Surfer