How to streamline coordinates to PathFollow3D

Godot Version

4.7.2 stable

Question

I’m working on a toy train game where the tracks branch out along the walls and surfaces and where the player has different points of interest to visit. I’m working the movement in the following way: the train is a PathFollow3D that follows the tracks which are Path3D and I have a set of Markers3D that specify the Vector3 global coordinates of my points of interests.

The issue I’m having is that I can’t figure out how to translate the Vector3 coordinates to a progress or progress ratio value in my PathFollow3D.

I’ve tried a bunch of ways, including creating Area3D for my Markers and a new PathFollow3D that works as a “surveyor” let’s say, but that turned out to be incredibly slow and unreliable.

Does anyone have an idea how to attack this problem? or knows of an addon that already deals with this?