Difference between actor and pawn.
Im a former unity developer who rencently ported to unreal 4. Im therefore having a hard time grasping what the different things do and dont. One thing i dont understand is the difference between actors and pawns. To me it seems that actors server the same purpouse as gameObjects do in unity. But i dont know what the pawns do. Could anyone give me some concrete info on what they do and dont?
Extra note. If anyone could tell me what characters do too i would be very grateful
Although the comments explain this (eventually), the accepted answer just links to the documentation, totally unhelpfully. The final explanation is simplest:
The key tangible difference to understand is that in UE4, all input and camera interaction is done via the 'Controller' associated with a player. This represents (basically) a single person sitting in front of a device using the game; in a multiplayer game you will have multiple players each with their own Controller.
Each Pawn is an Actor associated with a specific controller; it is the representation of that specific player in the game; as I said before, unity does not have this concept, and requires to you build this abstraction (if you want it) on top of the raw GameObject in unity.
There are also 'Spectator Pawns', which, obviously are people watching, but not interacting with the game. This is another built in function in UE4 not found in unity.
Characters extend Pawn in a specific way; you don't have to use them if you want to roll your own custom functionality, but they provide some specific built in behaviour.
At a technical level, Characters are Pawns with an associated SkeletalMeshComponent, for complex animations. It also has the CharacterMovementComponent, which, critically cannot be added to Pawns.
Long story short, there's a specific workflow which has been implemented for getting characters into the game, detailed here: https://docs.unrealengine.com/latest/INT/Engine/Animation/CharacterSetupOverview/index.html
If you want to use it, you have to use a Character instead of a Pawn.
answered Apr 01 '15 at 03:38 AM
Hope this help.
Follow this question
Once you sign in you will be able to subscribe for any updates here