• Home
  • About us
  • Articles and Tips
  • Contact us

Articles

Home / Articles / Agent handling with behavior trees

Agent handling with behavior trees

Posted on: 12-5-2008 Posted in: AI, Unity

Want to see a bunch of cubes playing soccer? Who wouldn’t?

This is an implementation of behavior using AngryAnt‘s Behave component for Unity. Each player cube will only pursue the ball if it’s within visibility range (see our tutorial on Proximity detection with triggers), and will kick the ball only if it reaches it before the other players. The kicker’s color indicate its current status in the behavior tree:

  • Green: waiting to see a ball
  • Red: going for the ball
  • Blue: just kicked the ball, resting

You can read the tutorial here.


</p> <div align="center"> This content requires the Unity Web Player</p> <p> <a href="http://www.unity3d.com/unity-web-player-2.x">Install the Unity Web Player today!</a> </div> <p>

About the Author

Ricardo J. Méndez

  • Popular Posts
  • Related Posts
  • Quick SteerToFollow example
    Quick SteerToFollow example
  • Screenshot Saturday 20110813
    Screenshot Saturday 20110813
  • Screenshot Saturday 20110806
    Screenshot Saturday 20110806
  • UnitySteer - AutonomousVehicles and Bipeds
    UnitySteer - AutonomousVehicles and Bipeds
  • Hairy Tales Previews
    Hairy Tales Previews
  • Quick SteerToFollow example
    Quick SteerToFollow example
  • UnitySteer - AutonomousVehicles and Bipeds
    UnitySteer - AutonomousVehicles and Bipeds
  • Hairy Tales progress - new elements and a boss
    Hairy Tales progress - new elements and a boss

Leave a Reply

Click here to cancel reply.

Recent posts

  • Hairy Tales Previews
  • Quick SteerToFollow example
  • UnitySteer – AutonomousVehicles and Bipeds
  • Hairy Tales progress – new elements and a boss
  • Public Alpha 2

Recent comments

  • Ricardo J. Méndez on Quick SteerToFollow example
  • Ben Ezard on Quick SteerToFollow example
  • Ricardo J. Méndez on UnitySteer 2.1 released
  • Elie on UnitySteer 2.1 released
  • Ricardo J. Méndez on Upcoming changes to UnitySteer
© 2009-11 Arges Systems Inc.. All Rights Reserved
TwitterStumbleUponRedditDiggdel.icio.usFacebookLinkedIn