magnet on a sphere ?

Doe anyone know if it is possible to make a magnet on a oval sphere
If I move the magnet it has to stick on the the outside of the oval sphere.
Or is there a magnet add on ?

Hi,

you can use a combination of shrinkwrap and track to constraints. I made you an example file.

Hadrien

Aah using shrinkwrap is the trick many thanks that’s just what I was looking for.

Solved constrained problem