Hi. I am using APlayerController to get APlayerCameraManager to get camera coordinates (for LineTraceSingleByChannel).
If I use on the server
GameplayStatics::GetPlayerController(this, 0)
then I only get the APlayerController for the first player.
How to get the ID for the APlayerController ? Or is there another way to get a specific APlayerController inside APawn ? Or another way to get the current camera coordinates of a specific APawn.