Choose your operating system:
Windows
macOS
Linux
| UPawnMovementComponent::AddInputVector()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PawnMovementComponent.h |
Include |
#include "GameFramework/PawnMovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/PawnMovementComponent.cpp |
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.
Parameter |
Description |
---|---|
WorldDirection |
Direction in world space to apply input |
ScaleValue |
Scale to apply to input. This can be used for analog input, ie a value of 0.5 applies half the normal value. |
bForce |
If true always add the input, ignoring the result of IsMoveInputIgnored(). |