Global and local path planning in natural environment by physical modeling