AController::SetInitialLocationAndRotation

Set the initial location and rotation of the controller, as well as the control rotation.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss