Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AController
- AController::SetInitialLocationAndRotation()
- APlayerController::SetInitialLocationAndRotation()
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)
virtual void SetInitialLocationAndRotation
(
const FVector & NewLocation,
const FRotator & NewRotation
)
Remarks
Set the initial location and rotation of the controller, as well as the control rotation. Typically used when the controller is first created.