How to read in all verts of a static mesh

My request is about tracing a path over a mesh of any shape.

I want to be able to have a character that can run anywhere on the surface of an irregular mesh, like this little deformed planetoid:

https://forums.unrealengine.com/filedata/fetch?id=1668726&d=1569620300&type=medium

Years ago in Unity I did this by reading all vertices of a mesh and calculating the path across the face of every triangle in the mesh.

Where would I start for doing the same kind of thing in Unreal? I’m just looking for pointers in the general direction, or links to relevant references, or even just the key terms I can look into further.

Alternatively, if there’s a better way to do this than calculating things for every single triangle, I’m all ears (eyes?) for that too.

Adding this comment to clarify (since I can no longer edit) that I am not asking how to make a character run around a planet.

I’m asking how to find the line along any irregular surface from a given point on that surface, in a given direction.