Velocity of a pathfollow3D

Godot Version

v4.1.1.stable.official [bd6af8e0e]

Question

Sorry about my english, i’m french.
I have a train (a PathFollow3D) and, when my character is on the train, i try to add the velocity of the train to the character.
The problem is the train is long and the velocity of the train is calculate only on the point of the PathFollow. So when the character is near the point of the pathfollow, it’s quite good, if the train is moving right, it’s also good but in curve, if the character is far away from the pathfollow, the character is go out of the train.
Maybe someone can help me to calculate the velocity of the train at the point of the character?