Godot Version
4.2.1
Question
Hello
I am trying to move the sprite alongside the PathFollow2d node, my current structure is:
-Node2d
--Sprite
--Path2D
---PathFollow2D
I would like to move the Sprite via the created path. I have seen many tutorials, where people move the sprite to the PathFollow2D making it, its child, for me this looks very inconsistent, as I am building a Node2d, with it’s properties, and moving the sprite to the PathFollow2D, just looks architecturaly wrong, as sprite visualizes the Node2d object, and not some seperate entity in PathFollow2D.
How can I achieve the path following, using the structure provided above?
I was thinking of using signals, to send the path from the PathFollow2D to the Sprite, and move it manually in the code, but I supose there should be a better way to achieve this. Thank you in advance.