Skip to content

Multiplayer ropes?

I am currently working on a coop game where two physics players (with rigid body controllers) run around connected by a physics rope (bones connected with configurable joints) to try and get though puzzles and platforming areas. This rope interacts with the environment and the players keeping them attached to each other. I recently had a meeting with a publisher that said it should be online multiplayer, which I agree with, however I’m not too sure the best way to do this as I am brand new to multiplayer. Any help would be amazing thank you. (I am also using the latest Unity LTS and thinking of using fishnet)

The ideas I had:

  1. Each player updates their position and the ropes are simulated locally the issue I’ve found with this is that the ropes pull the characters around so movements get more and more unstable and out of sync which makes the rope more unstable which makes the movement unstable and so on.

  2. Simulate everything on the server, when players press buttons, send it to the server move the player and then send the new state to the clients. The issues I imagine with this is bad input lag that would make it hard for platforming scenarios.

If you have any resources or suggestions I’d love to hear it. Have an amazing rest of your day :)

2 points0 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
10tsk0d

Author

51
posts
29
comments
24
media
View profile
Nobody had commented when we saved it.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.