Homing Missile update on client

Hello,

I am working on a mobile multiplayer game. I am currently working on a homing missile. I have two approachs for the homing missile.

  1. After instantiating homing missile on “Client A”, I can instantiate homing missile at the same position on “Client B”. The problem in here that sometimes missiles may follow different paths because of the lag issues.

  2. I can instantiate homing missile on “Client A”, then update missile location on “Client B” every frame.

Which one do you think is the best approach?

The missile can fly differently on every client, you shouldn’t sync it every frame for sure, maybe every second but not every frame (with maybe some smoothing for visual lag when update happens). There should be a single source of true, and it should be host machine. The only important event is when the missile actually hit something (or fuel over) then you can update all clients accordingly.