boldai.com

 
 
 
 

Waypoint Following

Description

This brain makes a character follow a set of waypoints.

Brain

Usage

First set up the waypoints:

  1. Create an empty game object called “Waypoint”
  2. Add a brain
  3. Add a new slot called “next waypoint”
  4. Duplicate the waypoint game object and position them as you like
  5. For each waypoint set the “next waypoint” slot to another waypoint

Then have your character follow them:

  1. Click the image above to copy and paste the blocks into your character’s brain
  2. Set the “current waypoint” slot to the first waypoint