Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Add input (affecting Yaw) to the Controller's ControlRotation, if it is a local PlayerController. This value is multiplied by the PlayerController's InputYawScale value.
| Name | AddControllerYawInput |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
UFUNCTION (BlueprintCallable, Category="Pawn|Input", Meta=(Keywords="left right turn addyaw"))
virtual void AddControllerYawInput
(
float Val
)
Parameters
| Name | Remarks |
|---|---|
| Val | Amount to add to Yaw. This value is multiplied by the PlayerController's InputYawScale value. |
See Also
- PlayerController::InputYawScale