Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/UMassCrowdRepresentationActorMan-
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.
Virtual Inheritance
- UMassRepresentationActorManagement::TeleportActor → UMassCrowdRepresentationActorManagement::TeleportActor
| Name | TeleportActor |
| Type | function |
| Header File | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/MassCrowdRepresentationActorManagement.h |
| Include Path | #include "MassCrowdRepresentationActorManagement.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/MassCrowdRepresentationActorManagement.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 |
| Context | is the current Mass execution context |