I'm in a situation where nodes are created dynamically and need to be animated.
To achieve this, I have defined an "AnimationPlayer" as a template in the node tree. It affects the "position" property.
I want to achieve two things:
- Run one of the animations of the animation player on my dynamically created node
- Run the animation relative to node's current position (ie if the animation moves the node 10 units to the left, it should do that
starting from the current position)
What's the prescribed way of doing this in Godot? From other system I know that animation can be defined and then applied.
This doesn't seem to be the case here.