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" |
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.