UCharacterMovementComponent::GetTeleportType

When moving the character, we should inform physics as to whether we are teleporting.

Windows
MacOS
Linux

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

Syntax

ETeleportType GetTeleportType() const

Remarks

When moving the character, we should inform physics as to whether we are teleporting. This allows physics to avoid injecting forces into simulations from client corrections (etc.)

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