ACharacter::CacheInitialMeshOffset

Cache mesh offset from capsule.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h

Include

#include "GameFramework/Character.h"

Source

/Engine/Source/Runtime/Engine/Private/Character.cpp

Syntax

virtual void CacheInitialMeshOffset
(
    FVector MeshRelativeLocation,
    FRotator MeshRelativeRotation
)

Remarks

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.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss