Hi, I'm having an annoying issue in my current project.
I'm trying to make an online multiplayer game in which you can pickup pieces from a board and drop them somewhere else in the board. It's basically a real-time tic-tac-toe game.
Everything works fine, except on the peer's side. If they're moving and they drop a piece, the moment the piece is dropped its position gets readjusted slightly, which causes an annoying effect. It looks like so :
Is anyone familiar with this issue? I think overall, I'm having a hard time wrapping my head around how objects that are not directly controlled by a player should be handled. From my understanding, their actual position should only be handled on the host's side, but the peer should be able to run their own version of the simulation, which then gets adjusted by the host in case of discrepancy.
Anyway, as you can see I'm a bit confused and could use some pointers. Is this an issue you're familiar with? If so, how did you fix it? Any pointers, resources?
Thanks in advance :)