Navigation
API > API/Plugins > API/Plugins/MassRepresentation > API/Plugins/MassRepresentation/UMassRepresentationActorManageme-
- UMassRepresentationActorManagement::TeleportActor()
- UMassCrowdRepresentationActorManagement::TeleportActor()
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
&40;
const FTransform & Transform,
AActor & Actor,
FMassCommandBuffer & CommandBuffer
&41; 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 |