r/howdidtheycodeit • u/leorid9 • Feb 09 '26
Question How did they code the chain in Chained Together?
What networking solution was used? Distributed Authority (Client Authority)? Client Side Prediction?
How are players moved around based on the chain? Is the chain a physics constraint (joint) that runs on the server and clients try to predict it for itself and all other players? Or is it a custom solution with special handling for all cases? Or something else?
42
Upvotes
31
u/aski5 Feb 09 '26
from playing it a bit I doubt it's even that complex, seems kinda jank to me. probably fully trusts the client (which is fine for coop) and just whatever out of the box physics solution
7
u/rakgnarr Feb 09 '26
Look up deterministic physics networking and go from there. AI can be a good entry to explain concepts for your
Also a classic resource: https://gafferongames.com/tags/networking/
2
u/[deleted] Feb 12 '26
[removed] — view removed comment