Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/AAIController
Description
Set the control rotation. The RootComponent's rotation will also be updated to match if bSkipRootComponentUpdate is false and RootComponent->bAbsoluteRotation is true.
Virtual Inheritance
- AController::SetControlRotation → AAIController::SetControlRotation
| Name | SetControlRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/AIController.h |
| Include Path | #include "AIController.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/AIController.cpp |
virtual void SetControlRotation
(
const FRotator & NewRotation
)