How do i make an object move around a 3D mesh?

Lets theorize we have a sphere and we want to make it move around an irregularly shaped 3D object, how can we archieve that?
114658-shapefollow.png

Hi,
You can use navemesh.