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"

[Multiplayer] Walking on physics boats with character movement component

Hello, I have been attempting to create a game where players can freely walk on physics based boats moving across an ocean. The game works flawlessly on single player, but when I attempt to replicate it over the network, and while using the character movement component, the characters are constantly getting corrected at latency over 30ms making the movement look jittery. I have take a couple different approaches to my problem:

1. I have tried to allow the clients to replicate the physics themselves by first giving them the boat location, then giving them the time of the server then subtracting that from their own time then adding that to their wave offset which led to the same result of the character constantly getting corrected.
2. I have tried to turn off boat physics for the clients and just replicate the location and rotation, but even if I don't smooth the location and rotation I am still getting constant character corrections.

I have been using the https://github.com/UE4-OceanProject to simulate buoyancy and I'm not sure if its the way the buoyancy is being simulated that's the problem or if character movement component is just not set up for moving on physics based objects over a network.

Product Version: UE 4.20
more ▼

asked Feb 17 '19 at 02:04 AM in Using UE4

avatar image


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

0 answers: sort voted first
Be the first one to answer this question
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