Hello community,
i’ve got questions about the Player Controller Blueprint Class. I hope somebody can answer those:
How do I get the Pawn the PlayerController controls and how do I set it. concrete: how do I get the reference to my Character?
In the TopDown Template, it seems, that only the PlayerController is moved (in its blueprint class), but visually the Character moves. This is a thing i don’t quite understand. Can anybody explain this to me?
To get the Pawn that a particular PlayerController controls, you can use the node GetControlledPawn(). Similarly you have the Posses() node to assign the Pawn being controlled by PlayerController
PlayerController has no physical existance. That why we need a Pawn,
So
Pawn = Body
PlayerController = Soul (or brain if you dont believe in soul )
– You cannot ask the PlayerController to move, but the PlayerController can ask the Pawn to move. So you should ask the PlayerController to ask the Pawn to move. This is what the MoveTo node does.