Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AController
Description
Set the initial location and rotation of the controller, as well as the control rotation. Typically used when the controller is first created.
Derived Overrides
| Name | SetInitialLocationAndRotation |
| 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)
virtual void SetInitialLocationAndRotation
(
const FVector & NewLocation,
const FRotator & NewRotation
)