Worm-like motion enabled by changing the position of mass center in the anisotropic environment