Skip to content

C++ Reference

Reference for ObjectiveWaypointSystem module (v1.6). Properties verified via Unreal MCP and plugin headers.

flowchart TB
  UActorComponent[UActorComponent]
  WaypointComponent["UWaypointComponent<br/>FilterByClass · TickMethod · TickTime · NavigationMode · SpawnTypeMethod · MeshDistance<br/>FindPathToActor() · FindPathToLocation() · FindPathToComponent() · SetSplineComponent()"]
  AActor[AActor]
  WaypointActor["AWaypointActor<br/>Mesh · UpdateLocationAndRotation()"]
  Subsystem["UWaypointWorldSubsystem<br/>actor pools"]
  Character["AWaypointCharacter<br/>WaypointComponent"]

  UActorComponent -.->|extends| WaypointComponent
  AActor -.->|extends| WaypointActor
  WaypointComponent -->|Spawn Actor mode| WaypointActor
  WaypointComponent -->|pool| Subsystem
  Character -->|owns| WaypointComponent
ValueVisual
SpawnInstanced meshes or AWaypointActor along path
SplineSplineMeshComponents along path

Blueprint package uses ENavMode with equivalent Spawn / SplineMesh names.

EWaypointComponentSpawnMethod (Spawn mode only)

Section titled “EWaypointComponentSpawnMethod (Spawn mode only)”
ValueDescription
InstancedUHierarchicalInstancedStaticMeshComponent — high performance
ActorPooled AWaypointActor instances — customizable per marker
ValueProperty used
TimeTick Time (seconds)
FrameTick Frame (frame count)

Used when snapping markers to ground (WaypointComponentTrace category).

ValueDescription
ObjectObject-type trace set (Object Types)
TraceLine trace on Collision Channel
PropertyTypeDescription
Filter By ClassNav filter classRestrict path to nav area
Tick MethodEnumTime vs frame refresh
Tick TimeFloatAuto re-path interval (seconds)
Tick FrameIntegerAuto re-path every N frames
Z OffsetFloatVertical offset for markers / spline
Navigation ModeEWaypointNavModeSpawn vs Spline
Spawn Type MethodEnumInstanced vs Actor (Spawn mode)
Waypoint MeshStatic MeshInstanced spawn mesh
Override MaterialMaterialInstanced mesh material
Waypoint Actor ClassClassAWaypointActor subclass (Actor mode)
Max Number Of MeshesInt 1–255Cap for Actor spawn mode
b Destroy Pool When DeactivatedBoolDestroy vs hide pooled actors
b Auto Calculate Mesh DistanceBoolDerive spacing from mesh bounds
Mesh DistanceFloatManual spacing (Spawn mode)
Spline MeshStatic MeshSpline mode mesh
Spline Mesh ScaleFloatSpline segment scale
Spline ComponentTransientOptional pawn spline reference
Spline Mesh ComponentsTransient arrayActive spline segments
b Enable Debug VisualizationBoolDebug draw for traces
b Show Debug Hit Actor NameBoolLabel trace hits
Collision TypeEnumObject vs channel trace
Trace OffsetVector2DStart/end trace offsets
FunctionDescription
Find Path to ActorPath to AActor goal
Find Path to ComponentPath to USceneComponent
Find Path to LocationPath to FVector
Set Spline ComponentRegister pawn spline for spline mode
EventPurpose
On Find Path To ActorPre-hook when targeting actor
On Find Path To ComponentPre-hook for component target
On Find Path To LocationPre-hook for location target
On Finish Path FindingCleanup / UI update
On Path Finding SplineReturn true to skip built-in spline mesh creation and supply custom Spline Mesh Components
Property / methodDescription
MeshStatic mesh for marker
Update Location And RotationSnap to path transform
Trace Object For LocationStatic ground snap (object types)
Trace Channel For LocationStatic ground snap (channel)

Subclass AWaypointActor and assign on Waypoint Actor Class for custom marker Blueprints in C++ spawn mode.

Internal pooling for Spawn Type Method = Actor. Not Blueprint-exposed; manages reuse of AWaypointActor per component key.

PresetSettingsBest for
Open worldInstanced, Mesh Distance 400Performance
Quest arrowsActor mode, custom AWaypointActor childGameplay markers
Ground tubeSpline mode + Spline MeshContinuous trail
Moving targetTick Method Time, Tick Time 0.25NPC escort
IndoorMesh Distance 120, lower max meshesTight nav
PrivateDependencyModuleNames.AddRange(new string[] { "ObjectiveWaypointSystem" });
#include "WaypointComponent.h"
#include "WaypointActor.h"
Blueprint (FAB package)C++ plugin
BP_WaypointComponentUWaypointComponent
BP_WaypointActorAWaypointActor
ENavMode SpawnEWaypointNavMode::Spawn
ENavMode SplineMeshEWaypointNavMode::Spline
BPI_WaypointOn Path Finding Spline event + Spline Mesh Components