Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AController
Description
Set the control rotation. The RootComponent's rotation will also be updated to match it if RootComponent->bAbsoluteRotation is true.
| Name | SetControlRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
| Include Path | #include "GameFramework/Controller.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Controller.cpp |
UFUNCTION (BlueprintCallable, Category=Pawn, Meta=(ToolTip="Set the control rotation."))
virtual void SetControlRotation
(
const FRotator & NewRotation
)