Moving long mesh on the uneven surface

I also encountered the same case, if you can fix it please help me, thanks a lot