Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Enforce constraints on input given current state. For instance, don't move upwards if walking and looking up.
| Name | ConstrainInputAcceleration |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual FVector ConstrainInputAcceleration
(
const FVector & InputAcceleration
) const