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