Merge remote-tracking branch 'upstream/master' into develop

This commit is contained in:
Evil Factory
2026-06-16 09:40:27 -03:00
74 changed files with 1167 additions and 408 deletions
@@ -1786,7 +1786,7 @@ namespace Barotrauma
offset *= item.Scale;
if (item.FlippedX) { offset.X *= -1; }
if (item.FlippedY) { offset.Y *= -1; }
offset = Vector2.Transform(offset, Matrix.CreateRotationZ(-item.RotationRad));
offset = Vector2.Transform(offset, Matrix.CreateRotationZ(item.body?.Rotation ?? -item.RotationRad));
}
}