Rotation problem over machines

Options
I have a object that rotates over time.

So the problem is that on one machine the rotation is smooth and is going the right speed over time. Then the second machine its going haywire, it jumps between speeds slow then normal, and its just super jagged. Then when one leaves for example the one with the smooth rotations, the other machines rotation becomes smooth, so i believe it is switching the speed between the two machines slow and fast, when one leaves it is just one, and i have no clue on what to do.

Comments

  • Tobias
    Options
    This sounds as if your interpolation code is wrong.
    One client has control if the spinning object. It sends the state to the others 10x per second. Considering you have 60 frames often, you need to interpolate what happens in-between networked updates.

    This needs a little bit of experience and an idea of what you want to achieve to come up with the parameters you'd send over the network. This is where it's really hard to get help for. We can't write this code for your but can only give general tips if we know what you want to do.