Hi i just came from unity3D to Unreal 4 and i am trying to learn this new game engine.
I am going through the ShooterGame example provided by Unreal and i find that it uses 3 types of “players”: Character, PlayerController and LocalPlayer.
I have tried to search on the net, what the difference are between them and when to use which one of them, but i still can’t grasp it.
Well, I’ll tell you the UDK definitions (that I’m keeping to U4).
The PlayerController is the “brain”, presents an AI that instead of being drive by the computer connects the input, controlling the player’s avatar on game.
The Character is an “evolved” version from the old “pawn”, and is just the “player avatar” class, controlled by the guy above and that is shown on the screen and map.
The localplayer is a way to reffer to the playercontroller that is where the game is running, as example, on a multiplayer game where you have lots of human controlled players but wants just reffer to the guy from “that client” it’s the LocalPlayer.
I don’t know if it’s the better deffinitions, but works to me.