Fixed client-side docking ports creating duplicate bodies on doors, causing characters to collide with an invisible door when trying to move between docked subs (until the server forces them through it). + TODO note about bugged hull finding logic in UpdateNetPlayerPosition!
This commit is contained in:
@@ -1497,6 +1497,7 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: this does not work, the positions are in sim units but FindHull uses display units
|
||||
Hull serverHull = Hull.FindHull(serverPos.Position, character.CurrentHull, false);
|
||||
Hull clientHull = Hull.FindHull(localPos.Position, serverHull, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user