Is there a way that heredity affects body weight like eds?

Yes. Pima indians of the desert southwestern us live where food is scarce. Therefore, a gene that makes food storage into fat very efficient so that they survive the desert. Taken out of the desert, and fed a standard american diet, they will gain weight. Similar genes are certainly present that will soon be described once the human genome is fully known.