AVirtualCameraPawnBase::TeleportToWaypoint

Teleports the pawn to a location associated with the specified waypoint.

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraPawnBase.h

Include

#include "VirtualCameraPawnBase.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraPawnBase.cpp

Syntax

bool TeleportToWaypoint
(
    const FString & WaypointName
)

Remarks

Teleports the pawn to a location associated with the specified waypoint.

Returns

true if the teleport was successful

Parameters

Parameter

Description

WaypointIndex

The index of the target waypoint in the waypoints array