Hey, I’m making a multiplayer game and I use socket.io to send when a player presses a key to move it (by example) for everyone but I’ve noticed that the physics engine (Ammo.js) doesn’t do every time the same movements for the same mesh at the same position so it’s a bit difficult to connect properly the players. So my question is: Is there a better way to connect players ?
Thanks in advance.
I think Deterministic Lockstep in your engine and physics engine could help here.
1 Like
Thanks a lot for helping me, I’ll try later !
1 Like
[off topic] If you want to make a multiplayer game I recommand you the excellent https://colyseus.io/ (based on socket.io)
2 Likes