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"

Vehicle Component - Multiplayer Lag/Jittering on Client

Hello everyone, I've looked EVERYWHERE for a solution. I'm new to networking on UE4, and having an annoying issue I've tried everything to fix.

When launching 2 players in the editor, the (host) sees their car perfectly fine, same with the connected client.

Thing is the client who joined sees the host (jittering) and THEMSELF jittering as well.

I've enabled substepping which seemed to fix this problem, but then having someone else from another computer join my listen server; It still jitters on their end.

Here's an example of the issue: https://i.gyazo.com/1ff0632f68b42ca4603a5452a620d154.mp4

Product Version: UE 4.14
Tags:
more ▼

asked Apr 16 '17 at 09:13 PM in Everything Else

avatar image

Applez6
1 2 3

avatar image MoneyG Apr 17 '17 at 06:26 PM

I came across this exact same problem but 10x more extreme when it came to the jitters.

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

1 answer: sort voted first

Enabling substepping gets rid of it completely in the editor, example here: https://i.gyazo.com/1eee4744a493f46ccb51f9948132cc15.mp4

Although, after packaging the game and sending it to a few friends, it's happening to them. It may mostly be affected by latency.

When connecting to myself on the packaged client, the mesh jittering is gone, but i get a few "snaps" back in place. Most likely the server updating my position vs the client prediction.

Which brings me to a further question, how would I go along making the movement of the vehicle only be handled by the server or the client so the snapping does not occur, and more likely not lag on the clients screen but only on the server.

more ▼

answered Apr 17 '17 at 06:40 PM

avatar image

Applez6
1 2 3

(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