added center of gravity, rotate obstacles around that