x

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"

character movement is stuttering on client

ive checked alot of different topics around net for this problem and havent found fix for it. so all clients who connects to listen server over online are getting this weird lag on movement, its annoying and not fun to play. (also on lan but not so bad) characters are parented from "character class". basic movement setup with replications. nothing special. i feel like its lagging only when character runs some other direction than straight forward.. i have also tried to tick "use controller desired rotation" and "orient rotation on movement" with no luck. anyone who knows this problem? thanks.

heres couple screenshots:

alt text

alt text

alt text

Product Version: UE 4.18
Tags:
movement.png (281.0 kB)
replication.png (12.0 kB)
more ▼

asked Dec 18 '17 at 05:14 PM in Blueprint Scripting

avatar image

kmssn
77 7 10 15

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

1 answer: sort voted first

Hey there, i would try to first try to minimize the amount of code that is running the movement code, so for now try unhooking the paused? branch, camera shake, gate, etc and just call the add movement input and see if that helps.

more ▼

answered Dec 18 '17 at 05:20 PM

avatar image

xlar8or
6k 159 127 303

avatar image kmssn Dec 18 '17 at 05:37 PM

ok i removed all those and put events straight to movements but that didnt fix it =/ tried with 2 different characters

avatar image xlar8or Dec 18 '17 at 05:42 PM

If you create a new project from the same template you used do you have that issue? How much code have you already added on top of the template?

avatar image kmssn Dec 18 '17 at 05:52 PM

just formatted my pc totally 2 days ago, did a new copy from project also. there is some code in the project, game modes, states, player states, many variables and stuff. game is running perfectly with high fps / network code works well and stat net gives green only. client character is just lagging always.

avatar image kmssn Dec 18 '17 at 06:03 PM

and it happens with all movement speeds, nothing is changing speed that could mix with server/client

avatar image xlar8or Dec 18 '17 at 06:27 PM

I would suggest to try it on a clean project based on the template you used just to make sure there is nothing wrong with the project. If that works i would try to use the default game state / game mode / player state, to see if something is interfering with the client. If that doesnt fix then i would create a very basic character deriving from ACharacter with just a simple skeletal mesh with no animations and see if that helps.

avatar image kmssn Dec 18 '17 at 07:05 PM

project is created on clean with starter content, and im too lazy to start adding multiplayer system for clean project. also theres code that much in modes and states so im gonna check every node now through before i start copy all that.. just noticed that all my gamestates and modes i had disabled the tick stuff on start, no clue if that has an effect for it. changing graphics settings ingame will remove that weird lag but only on local machine 2 screens.

alt text

if this setup doesnt work over online i will try that new character thing. enough for today, tomorrow more investigation.

ticks.png (5.5 kB)
avatar image gon. Jun 14 '18 at 01:09 AM

Hi kmssn! Any news about this? Did u fix it? I drag a problem like yours for a year or so and still havent found any real solution.

(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