Moving long mesh on the uneven surface

Honestly without a reference picture is hard to understand what’s going on, but I supposed is a quadruped with a tail.