Make Your Own Unity Game Part 6
Here I demonstrate how attack and chase states can be implemented for an NPC #ArtificialIntelligence (#FiniteStateMachine) in a 3D game
If you have not yet seen the previous videos kindly check the playlist here:
• Make Your Own Unity Game
Note: In my videos, I am showing every step except those which I have already shown one time. e.g. I have shown how to add animation for the destination one time. So, when I add 3 more destinations, I do not show them. And the entire finalized code is shown on the last few minutes so you can check it out anyways.
Github Repo for Code download
https://github.com/drgamedev/UnitySte...
15 minutes to adding an #AI #ArtificialIntelligence for attacking and chasing using a Finite State Machine #NPC in your #Unity3D game
#gamedev #tutorial #unity
Learn by doing. Shows all steps using the #Unity3D 2019.3 Editor. Learn how to add code for line of sight to standard assets in a terrain with NavMesh.
Unity 2D and 3D Game Developer Course - Learn Project Setup and Player Movement
https://amzn.to/365IJgw
C# Game Programming Cookbook for Unity 3D by Jeff W. Murray
https://amzn.to/2X4YobW
Contains AI concepts based on Alan Thorn's book
https://amzn.to/3eDOVzl
Photo by Garrett Morrow from Pexels