public void UpdateAABB() { var startPos = Grids.First().PositionComp.GetPosition(); var box = new BoundingBoxD(startPos, startPos); foreach (var aabb in Grids.Select(g => g.PositionComp.WorldAABB)) { box.Include(aabb); } WorldAABB = box; }