Navigation
API > API/Plugins > API/Plugins/MassRepresentation > API/Plugins/MassRepresentation/UMassRepresentationActorManageme-
Description
Teleports the actor at the specified transform by preserving its velocity and without collision. The destination will be adjusted to fit an existing capsule.
| Name | TeleportActor |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationActorManagement.h |
| Include Path | #include "MassRepresentationActorManagement.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationActorManagement.cpp |
virtual void TeleportActor
(
const FTransform & Transform,
AActor & Actor,
FMassCommandBuffer & CommandBuffer
) const
Parameters
| Name | Remarks |
|---|---|
| Transform | is the new actor's transform |
| Actor | is the actual actor to teleport |
| CommandBuffer | to queue up anything that is thread sensitive |