Actor Waypoints

Here’s the updated Visualization tutorial as well:

Actor Waypoints Visualization Tutorial

Prerequisites

In this tutorial, we’ll turn on visualization for actors that are moving among waypoints. This tutorial assumes you have already completed the Actors Waypoints Basics tutorial.

Confirm Requirements

For visualization to work, you must have an actor. That actor must have a Waypoints component. The Waypoints component must have one or more waypoints with valid target points configured. All set? Let’s go!

Adding Visualization Component

Remember how you added the Waypoints component to your actor in the Actor Waypoints Basics tutorial? Well, we are now going to add another component to the actor in addition to the Waypoints component it already has. Use the Add components button to add a WaypointsVisualizer component to your actor.

Visualize

If you simply cannot wait, you can now hit Play and lines will appear showing the route of the actor between the waypoints. The WaypointVisualizer component automatically detects the Waypoint component on the same actor. But, if you are willing to read on, there some more configuration options.

Configure Visualization

If you have multiple visualized actors and you want to see lines in different colors for each, select the WaypointsVisualizer component on your actor and look in the Details panel. Hover over the properties and read the tooltips to get a sense of the options. You can also use the Enable toggle to toggle visualization without losing your visualization settings for that actor. That’s it!