top of page
  • Writer's pictureMike

Progress 11-4: They Shoot At Me!

For the new "Hotline Space" game I have been exploring the idea of a Finite State Machine AI implemented using Scriptable Objects. I think this system has potential and found it very easy to implement a random patrol state. I am now experimenting with getting the baddie to take one shot at me when he sees me then go back on patrol.


This task is a little more challenging than I expected since none of the existing physics raycasts gave me the vision arc I desired. Because of this shortcoming I had to implement this on my own. However I now have that working and a rough version of the FSM where the baddie shoots at me is in place.


I think this Scriptable AI system is going to be useful I just need to play with it a bit more to see how it likes to work. If you want to give it a shot I do recommend it. You can find it here : https://learn.unity.com/tutorial/5c515373edbc2a001fd5c79d/?tab=overview#5c7f8528edbc2a002053b487 :


Stay tuned for more adventures in FSM and AI goodness.


- Mike



9 views0 comments

Recent Posts

See All
bottom of page