Choose your operating system:
Windows
macOS
Linux
| UMassRepresentationProcessor::TeleportActor()
|
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationProcessor.h |
Include |
#include "MassRepresentationProcessor.h" |
Source |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationProcessor.cpp |
virtual void TeleportActor
(
const FTransform & Transform,
AActor & Actor,
FMassCommandBuffer & CommandBuffer
)
Teleports the actor at the specified transform by preserving its velocity and without collision. The destination will be adjusted to fit an existing capsule.
Parameter |
Description |
---|---|
Transform |
is the new actor's transform |
Actor |
is the actual actor to teleport |
CommandBuffer |
to queue up anything that is thread sensitive |