• 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
  • UnitySteer 2.1 released
    UnitySteer 2.1 released
  • UnitySteer: How are you using it?
    UnitySteer: How are you using it?
  • Postmortem: The whole indie gamedev thing
    Postmortem: The whole indie gamedev thing
  • UnitySteer: Experimental vehicle and radar changes
    UnitySteer: Experimental vehicle and radar changes
  • Public Alpha 2
    Public Alpha 2
  • Project K - Polish and Effects
    Project K - Polish and Effects
  • Changes from Alpha 1
    Changes from Alpha 1
  • Screenshot Saturday 20120114
    Screenshot Saturday 20120114

Leave a Reply

Click here to cancel reply.

Recent posts

  • Public Alpha 2
  • Project K – Polish and Effects
  • Changes from Alpha 1
  • Screenshot Saturday 20120114
  • Project K – Playable Alpha

Recent comments

  • UnitySteer 2.1 released « Arges Systems on UnitySteer 2.2 released
  • UnitySteer – Steering components for Unity « Arges Systems on Project K – Playable Alpha
  • UnitySteer – Steering components for Unity « Arges Systems on UnitySteer 2.0 – multiple agents example
  • Ricardo J. Méndez on UnitySteer – Steering components for Unity
  • Isaac R. on UnitySteer – Steering components for Unity
© 2009-11 Arges Systems Inc.. All Rights Reserved
TwitterStumbleUponRedditDiggdel.icio.usFacebookLinkedIn