APawn::GetLocalViewingPlayerController

Returns local Player Controller viewing this pawn, whether it is controlling or spectating