Is there a way to get the velocity of an object moved through pathfollow?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ArAdev

Hello, I am trying to do a platform that moves through the Pathfollow2d node, it works alright but I have a problem with this because I need the player to move with the platform but i do not know how to get the platform velocity in Vector2 to sum it to the player velocity. I tried doing the platform node a KinematicBody2d and using the get_travel() function, but it always return a Vector2(0,0) so I think it only works with the move function. I am using Godot 2.1.4, thanks in anticipation.