- Home /
Synchronizing parented objects' position and rotation & handling player collision
Hello there!
I'm having great trouble with synchronizing the rotation and position of gameobjects during network play. The goal is to have two somewhat ragdoll humanoids punching each others. But to achieve this I need to send position and rotation data to the other player with the parent info. At the moment I'm able to get the necessary data across, but it still doesn't work well. Objects keep missing and flying around. Also latency is horrible, since I don't know how to predict rotation.
And with prediction comes the other point. If I have predictions, can I ever be sure that the two players experience collisions (punches or other interactions) EXACTLY the same way. In this project collision accuracy and individual body parts' Transform data are critical.
I don't know what info to give now, so I'll link the scripts and the actual project file so you guys can see what I'm talking about. Point is, I can sync all necessary data.
Your answer
![](https://koobas.hobune.stream/wayback/20220613132513im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
SyncVar issue 0 Answers
UNET Health isn't syncing 1 Answer
Unity networking tutorial? 6 Answers