What is the network difference between a character and a pawn ?
I did 2 things
What is the difference between theses classes in terms of networking ?
asked Jul 30 '14 at 05:35 PM in Blueprint Scripting
Welcome to Pawn Networking. Okay, Open up the engine, and look at the ACharacter class. It is network enabled, so is the AVehicle class. Epic has made sure that client prediction, server stuff is done, so you don't have to do it.
However, the Pawn class is not network enabled, meaning you need to do some work. Remember, Epic is a game engine that they use, so Pawn isn't relevant to their commercial games.
So you need to tell the server that the pawn is moving. So in the blue print class, you will check if you own the Pawn. If you do, then you will tell all clients, that I am spinning. That way the Pawn is replicated by default and will spawn on all clients. Because the server said so.
Remember, the Server is the man.
Hope this is helpful, if not, ask questions.
answered Mar 29 '16 at 06:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here