P2 Physics Simulation on 2 different machines


#1

I’m doing multiplayer carrom game in Phaser CE. It uses P2 physics.

It’s a turn based multiplayer game. So, what I’m planning to do is :

  • When 1st player plays the shot, I’ll send angle and velocity to other player.

  • Then on receiving data, I’ll play that shot on 2nd player’s side.

So, my question is ‘does the physics simulation on both player’s screen will be same?’
I think it should be same but I’m not sure. What do you say?