Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/UMassCrowdRepresentationActorMan-
- UMassRepresentationActorManagement::TeleportActor()
- UMassCrowdRepresentationActorManagement::TeleportActor()
References
| Module | MassCrowd |
| Header | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/MassCrowdRepresentationActorManagement.h |
| Include | #include "MassCrowdRepresentationActorManagement.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/MassCrowdRepresentationActorManagement.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 |
| Context | is the current Mass execution context |