0 votes

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.

in Engine by (55 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.