P0-B4: Part 1241: Debugging, Improvements
by PhoenixGames on Apr.30, 2023, under Astral Realms, Meridian, P-0, P0_B4, Software and Games, Spiritus Astrum
I have made more improvements and bug fixes to the networking system. There was an issue where if an item was picked up by one player, the item would still remain on the screen of other players, effectively duplicating the item. This has now been fixed.
I also ran into an issue with world/local space position, where two players could be close together in the world, but may have a different world pos coordinate, meaning the AI sync position is not correct.
I was able to fix this by adding the global world offset vector to the AI position, meaning it is effectively in world space, so it should be the same for all connected clients.