Waypoint Path tutorial

From HEWIKI
(Redirected from Waypoint Path Tutorial)
Jump to: navigation, search

Contents

He beginner.png


This tutorial will show you how to make a waypoint path, and attach an object which can move along it
This is a beginner-level tutorial. Also, be sure to check out the Video Tutorial.

In this tutorial, you will learn how to:

When completed, you will have a waypoint path which traces a rough circle in the sky, along with an attached object (such as a boat) which floats along it.


Prerequisites

You will need your own Test Area to work in. If you do not have one yet, you should work through the following tutorials first:

Also, please review the section on Waypoint Paths for an overview of what exactly a Path is, and how it can be useful.


Create a Path

Waypoint.jpg
Waypoint-ring.jpg

Create a Path Follower

A path follower moving from right to left along a path

Now that you have your path laid out, you will need to attach a follower to the path. The follower will "walk" the path.


  • The follower should now starting moving around the path. Depending on how closely spaced the waypoints are, this movement may be unusual. The follower might get stuck at a waypoint, or start spinning around one in close circles, or veering far off the path. These are all normal behaviors which can be modified later.
  • Feel free to experiment with other follower properties

Attach an object to the follower

Playing with the follower may be fun, but this movement is only visible to the GameMasters. Now we're going to attach something to the follower, to make something actually change in the game world that would be visible to a player. In this case we are going to attach a boat.


Well done!


Waypoints.jpg

What to do next

Create a path in preparation for the next tutorial, on creating a script. It should have six waypoints in a roughly hexagonal shape, and a follower node which traces along it.


Additional information

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox