How do you set the PlayerCameraManager on a PlayerController?
I have looked at loads of information about how camera systems are set up in UE4 and have settled on the camera system I want in my game.
I want to be able to switch pawns so I am going to have a custom PlayerController that possesses the pawns. I want a third person camera over that pawn which has some movement constraints. To get started I created a custom PlayerControllerClass and a custom PlayerCameraManager.
How do I set the player controller to use the custom PlayerCameraManager?
This is throwing an error that SWPlayerClass is not of type UCLASS(), which I kind of expected. I have seen in the docs the PlayerController exposes both PlayerCameraManager and PlayerCameraManagerClass. I am under the impression from hearsay and conjecture that I need to set the latter by casting my custom SWPlayerCameraManager as a PlayerCameraManager, but I have no basis to back that up.
Do I do this in the CPP file without declaring a class varible? Can I just set
I am rather confused by this.
TL;DR: What code goes where when assigning a custom PlayerCameraManager to a custom PlayerController?
Hey there, to set the Player Camera Manager i do this:
answered Jan 22 '18 at 03:08 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here