Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Replication of player animations

I was fiddling around with multiplayer stuff and I looked into events that run only on server, multicasting events, replication of variables...

But there is something that I dont quite understand: When I load the Third Person example proyect, and enable more than one player, I can see the position and movements of the players being replicated on all clients.

While I understand that the position and the rotation of the players being replicated successfully (since the replication option is enabled in the pawn's blueprint option), I don't really understand why the animations are being replicated. I don't see any reference in the blueprint making animations replicated over the network.

Are pawn animations implicitly replicated on clients when replicating the actor's position? Am I missing some option/configuration I'm missing?

Product Version: UE 4.21
more ▼

asked Dec 06 '18 at 08:03 PM in Using UE4

avatar image

Leonino Malino
3 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Character Movement Component is replicating a bunch of stuff for you by default and IIRC has some interpolating features built in, which is why the movement looks smooth even if you have simulated latency.

To my knowledge of the system, the animations aren't really replicated over the network. They are instead only played locally. Since position, rotation, velocity ++ is replicated and interpolated, the animation states should be the same on both computers, creating the illusion that animations are replicated. I could however be wrong on this.

more ▼

answered Dec 07 '18 at 10:04 AM

avatar image

280 1 8 5

avatar image Evigmae Dec 08 '18 at 06:09 PM

you're right. the anim graph is reading local data off the character, which drives the animations.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question