Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AController
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
Include | #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
)
Remarks
Set the control rotation. The RootComponent's rotation will also be updated to match it if RootComponent->bAbsoluteRotation is true.