Magnetic wayfinder

Need to create a magnetic wayfinder, in the shape of arrow that sticks to any nearest mesh?

Basically it stays on top of the player and then, sticks itself to nearest mesh.
The position is relative to the player’s transform than the mesh.
So when the player move, it’ll also move along the player, while sticking on the mesh.

It’ll have the same height with the player…and once the player move away from the mesh, or say
the wayfinder is away from the player (since the player move)…
The wayfinder return invisible and comes back to the player’s center.

I tried using near and collision sensor but neither of them are that precise…
since i need to find the position on the mesh, without touching the mesh.
Much like radar but maybe i need some py scripting…
And i’m not good at it.

help?

I do not understand that request. Could you draw a sketch?

Is it on the player or is it on the (whatever) mesh? Does it follow the player or the mesh? Isn’t the player a mesh too? Do you mean “point to” or “track to” when you talk about “stick”?