0 votes

I made a Animation witch mouved an Node but the Node under the animated Node doesnt moved. How can I repair it?

Godot version 3.2.2
in Engine by (255 points)

1 Answer

+1 vote

When you move a Node with a position, like Node2D, Node3D, etc, children nodes will move with it, as their own position is relative to their parent. However, if there is a gap in the chain of nodes with positions, global positioning will be used.

For instance, say you have Node2D <- Node <- Sprite1 <- Sprite2, with "A <- B" meaning "A parent of B". Sprite2's position is relative to Sprite1's but Sprite1's is absolute, meaning it will ignore Node2D's position.

by (2,484 points)
edited by
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.