Game Development Reference
In-Depth Information
RAIN AI
Rival Theory's RAIN AI is a very full-featured AI to use and it is free. It includes a
behavior tree with similar functionality to React, but has more features built in. In fact,
this one won't require any additional scripting to go from point A to point B.
To get this going, we'll need the following bases:
• A map to move around on
• A character to move around in the map
• A route (series of waypoints) for the character to follow
• A navigation mesh that knows what to avoid
• An AI to control the character
• A behavior tree to tell the AI what to do
To start with, you'll need to start a new Unity project, import Unity's Character Control-
ler, and import the RAIN AI package.
Note
Don'tgettheRAINAIpackagethatisfoundintheAssetstore.Thecurrentrelease
(at the time of writing this topic) can be found at the Rival Theory site, rivalthe-
ory.com/rain/ .
Perform the following steps:
1. To create our map, add a plane. Then, add a couple of objects to act as
obstacles. It is best if they create a U or V shape to potentially trap the player:
Search WWH ::




Custom Search