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"

Will Custom Character Movements Replicate?

Hello AnswerHub,

I've been looking at making a network-capable pawn that moves about via adding location and rotation offsets, and I'm wondering if I should base this pawn off of the Character template since it includes client-side prediction and such natively. Can unique movements be added on top of the default Character code and be automatically rolled into its movement replication features? I see that there are ways to define custom movement states besides the falling/swimming/etc. that are included by default, but would those custom movements be replicated by default? Thanks ahead of time!

Product Version: UE 4.14
more ▼

asked Jan 02 '17 at 04:39 AM in Blueprint Scripting

avatar image

James Wirick
36 7 6 8

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Yes, if you inherit from the Character class, add your own custom Character Movement Component, and follow the rules when addin your custom movements, then you get automatic replication and predictive movement smoothing for free. You also get network instant replay. Here are the docs I used to create my custom climbing mode:


more ▼

answered Jan 02 '17 at 04:56 AM

avatar image

2.6k 62 26 281

avatar image James Wirick Jan 02 '17 at 03:41 PM

Wow, that's cool. Thanks for the info. Do you happen to know if this can be done in Blueprints via the Custom Movement nodes, such as the ones pictured below, or does that behavior only carry over for making a C++ extension of the Character Movement Component?

alt text

avatar image Dartanlla Jan 02 '17 at 03:48 PM

I found the following, but I don't think this is doing all of the predictive movement stuff:


avatar image James Wirick Jan 02 '17 at 03:51 PM

Yeah, I saw that one as well. I guess I'll just have to try it out and see. Thanks again for the help!

(comments are locked)
10|2000 characters needed characters left
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