Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APawn
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
Include | #include "GameFramework/Pawn.h" |
Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual void FaceRotation
&40;
FRotator NewControlRotation,
float DeltaTime
&41;
Remarks
Updates Pawn's rotation to the given rotation, assumed to be the Controller's ControlRotation. Respects the bUseControllerRotation* settings.