Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ACharacter
Description
Cache mesh offset from capsule. This is used as the target for network smoothing interpolation, when the mesh is offset with lagged smoothing. This is automatically called during initialization; call this at runtime if you intend to change the default mesh offset from the capsule.
| Name | CacheInitialMeshOffset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include Path | #include "GameFramework/Character.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Character.cpp |
UFUNCTION (BlueprintCallable, Category=Character)
virtual void CacheInitialMeshOffset
(
FVector MeshRelativeLocation,
FRotator MeshRelativeRotation
)
See Also
-
GetBaseTranslationOffset()
-
GetBaseRotationOffset()