State Machine AI Behaviour

Created State-Based AI Enemy Behaviour using C# and Bolt’s Visual State Machine within Unity. Use C# to write codes that handle the AI behavior of a particular state and Bolt’s Visual State Machine which helps in easing the complexity of understanding and making transitions and relations between states.

  • Core logic and behaviors for each state (patrolling, chasing, attacking, idle, etc.) were scripted in C# for performance and flexibility.
  • Leveraged Bolt’s Visual State Machine to simplify visualization of transitions, making state flow easier to understand and maintain.
  • Achieved a clean separation between logic and flow, improving debugging, scalability, and team collaboration.