Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UPathedPhysicsMoverComponent
Description
Changes path origin (i.e. the transform at the very beginning), causing the whole path to shift accordlingly. The updated component is immediately teleported by the delta between the old and new origins, retaining all other physics state If a more gradual origin shift is desired, it's up to the caller to set this with a small lerp delta each frame.
| Name | SetPathOriginTransform |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/PhysicsMover/PathedMovement/PathedPhysicsMoverComponent.h |
| Include Path | #include "PhysicsMover/PathedMovement/PathedPhysicsMoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/PhysicsMover/PathedMovement/PathedPhysicsMoverComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PathedMover)
void SetPathOriginTransform
(
const FTransform & NewPathOrigin
)