Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UPawnMovementComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PawnMovementComponent.h |
| Include | #include "GameFramework/PawnMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PawnMovementComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Pawn|Components|PawnMovement")
virtual void AddInputVector
(
FVector WorldVector,
bool bForce
)
Remarks
Adds the given vector to the accumulated input in world space. Input vectors are usually between 0 and 1 in magnitude. They are accumulated during a frame then applied as acceleration during the movement update.
Parameters
| Name | Description |
|---|---|
| WorldVector | Direction in world space to apply input |
| bForce | If true always add the input, ignoring the result of IsMoveInputIgnored(). |