You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiplayer should work like A Hat in Time, where players who enter the same numeric ID will be in the same lobby. Connection is P2P. For physics objects, the player who wakes the RigidBody will be the "temporary physics owner" (TPO) and is responsible for sending updates in the object's transform to other players. The transform is sent in intervals, and is linear interpolated. This means the object in other player's machines are moved in the KinematicBody state; only the TPO is simulating the RigidBody. Once the object comes to a stop (back to sleeping), a check is done to make sure the position of the object for all players is synchornized with the TPO's, and only then the ownership is revoked.
As for starting the game or selecting a level, each player can do so on their own. They will automatically see each other in the level if the network ID is the same. Entering a level in-progress (level that has at least one existing player) will sync the positions of all physics objects in the scene.
The text was updated successfully, but these errors were encountered:
Multiplayer should work like A Hat in Time, where players who enter the same numeric ID will be in the same lobby. Connection is P2P. For physics objects, the player who wakes the RigidBody will be the "temporary physics owner" (TPO) and is responsible for sending updates in the object's transform to other players. The transform is sent in intervals, and is linear interpolated. This means the object in other player's machines are moved in the KinematicBody state; only the TPO is simulating the RigidBody. Once the object comes to a stop (back to sleeping), a check is done to make sure the position of the object for all players is synchornized with the TPO's, and only then the ownership is revoked.
As for starting the game or selecting a level, each player can do so on their own. They will automatically see each other in the level if the network ID is the same. Entering a level in-progress (level that has at least one existing player) will sync the positions of all physics objects in the scene.
The text was updated successfully, but these errors were encountered: