Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
void ServerSetSpectatorLocation
&40;
FVector NewLoc,
FRotator NewRot
&41;
Remarks
When spectating, updates spectator location/rotation and pings the server to make sure spectating should continue.