Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
- UActorComponent::ApplyWorldOffset()
- UCharacterMovementComponent::ApplyWorldOffset()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual void ApplyWorldOffset
(
const FVector & InOffset,
bool bWorldShift
)
Remarks
Called by owner actor on position shifting Component should update all relevant data structures to reflect new actor location
Parameters
| Name | Description |
|---|---|
| InWorldOffset | Offset vector the actor shifted by |
| bWorldShift | Whether this call is part of whole world shifting |