0 votes

EDIT: I reformulated the question

Hello! I'm trying to move an object by an animation player. I want to keep it moving in the global position but it resets the position instead of keep moving.

I read this question about it but I don't understand how to do what they said to do.
https://godotengine.org/qa/9191/instanced-animating-global-location-rather-local-location

My hierarchy is as follows:

_|Object(Node2d)
_|--|Sprite
_|-----|Area2D
_|---------|CollisionShape2D
_|--|MoveAnimationPlayer

What do I need to move to make the object keep going to the direction I want?

Related to
https://github.com/godotengine/godot/issues/4263

in Engine by (96 points)
edited by

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.