Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
- AController::SetInitialLocationAndRotation()
- APlayerController::SetInitialLocationAndRotation()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual void SetInitialLocationAndRotation
&40;
const FVector & NewLocation,
const FRotator & NewRotation
&41;
Remarks
Set the initial location and rotation of the controller, as well as the control rotation. Typically used when the controller is first created.