Waypoint Path tutorial

From HEWIKI
(Difference between revisions)
Jump to: navigation, search
(Create a Path: Clarified explanation of placing waypoints using pulsating circles.)
(Create a Path: updated image for Sapphire)
Line 30: Line 30:
 
* Move your viewpoint to where you are facing an area that you can place a path.  For example, face an object that you placed earlier (perhaps something like a statue), and we will place a "sky path" that moves an object around it.  If you're not sure, see [[Adding a signpost]].
 
* Move your viewpoint to where you are facing an area that you can place a path.  For example, face an object that you placed earlier (perhaps something like a statue), and we will place a "sky path" that moves an object around it.  If you're not sure, see [[Adding a signpost]].
  
[[Image:Paths Panel.jpg|right|thumb|[[Paths panel]]]]
+
[[Image:HeroBladePathsPanel.png|right|thumb|[[Paths panel]]]]
 
* If your path panel is not open, then go to the [[Panels menu]] and choose PATHS.
 
* If your path panel is not open, then go to the [[Panels menu]] and choose PATHS.
 
** Note that there are three subsections in this panel:  Paths, Waypoints, and Waypoint Info
 
** Note that there are three subsections in this panel:  Paths, Waypoints, and Waypoint Info

Revision as of 14:38, 30 October 2012

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.
  • Adjust the follower property turnrate to 0.05
  • 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