Game Development Reference
In-Depth Information
We'll speed up the ship movement, so select the move node and set the Move
Speed value to 5 .
When we run the demo now, the ship will patrol around the block, similar to our
pathfinding demos. To extend this, we'll add an additional functionality of moving to
a home base after a given number of seconds. However, two things need to be ad-
ded to the scene before we make additions to the behavior tree. First, we need to
create a navigation point for the home base so that the RAIN AI system can know
where it is. In Unity, navigate to RAIN | Create Navigation Target . Rename both the
GameObject and the target name in the RAIN menu for it to gameBase , and place
it under our cylinder that visualizes our game base. This creates a new point RAIN
can navigate to:
Search WWH ::




Custom Search