need an algo to move characters

hello !
i have the following pb :
I want to move a tank from a point A to B, with terrain restrictions (the tank is not allowed to cross over montains) for example but i don’t have any ideas. If someone can help me. Tank for your answers.

In games this problem is considered an AI issue. Take a look at:

or search for pathfinding etc…

Hope this helps