Reader small image

You're reading from  Unity AI Programming Essentials

Product typeBook
Published inDec 2014
Publisher
ISBN-139781783553556
Edition1st Edition
Tools
Right arrow
Author (1)
Curtis Bennett
Curtis Bennett
author image
Curtis Bennett

Curtis Bennett has been a developer in the games and computer graphics industry for several years. He has worked on developing immersive virtual environments, published research in visual simulation, taught college courses in game development, and worked for various game studios, and he was also an engineer on early versions of the RAIN AI plugin for Unity. Currently, he is the Technical Director for Creative Services at Ideum, which focuses on creating interactive media projects.
Read more about Curtis Bennett

Right arrow

RAIN node types


For the RAIN implementation of behavior trees, the behavior nodes are split into two categories: decisions and actions. Actions tell the AI system to actually do something; it is where the actual work of the AI is done. The most common action is the one we saw in the previous chapters, move, which tells the AI system to move a character. Besides move, here is a list of the current actions RAIN supports:

  • The Choose patrol path and Choose path waypoints: These nodes help to move the AI through a network of waypoints.

  • Detect: This finds other AI entities and areas marked in a scene. This node will be covered in Chapter 6, Sensors and Activities.

  • The Evaluate expression: This node evaluates some logic, using RAIN's custom logic system. We will be discussing this node more in this chapter.

  • Animate and Mechanism: These animation nodes manage different animations playing on the entity. We'll look at this node type more in Chapter 10, Animation and AI.

  • Play audio: Plays an audio...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity AI Programming Essentials
Published in: Dec 2014Publisher: ISBN-13: 9781783553556

Author (1)

author image
Curtis Bennett

Curtis Bennett has been a developer in the games and computer graphics industry for several years. He has worked on developing immersive virtual environments, published research in visual simulation, taught college courses in game development, and worked for various game studios, and he was also an engineer on early versions of the RAIN AI plugin for Unity. Currently, he is the Technical Director for Creative Services at Ideum, which focuses on creating interactive media projects.
Read more about Curtis Bennett