There seems to be a-lot of misconception surrounding the player controller nodes. I’ve read multiple forum pages and all say something different. The documenation was no help either.
What I’m having difficulty with is how ‘get player controller’ and ‘get player camera’ etc know what pawn to use (is it the pawn its attatched to?). I was under the impression that the gamemode class was what determined what pawn to use per level and the playercontroller class being an additional helper if one wanted to say, switch control to a car pawn using the posess node (the car actor having all the blueprint code to make it move. The player actor having all his movement blueprints as-well) I have watched tutorials that don’t set or create a gamemode or playercontroller class so maybe thats adding to my confusion by them missing a step.
Does the get player controller have anything to do with the inputs you set? whether or not a gamepad or keyboard or mouse is connected?
Does unreal assume what the default pawn is if you don’t set it? Is that what get player controller does?
What is the return type of get player controller? No one seems to mention that either. Is it the pawn? The playercontroller class?
I’d appreciate some clarity because this is driving me bananas.