Thanks for the reply.
You say that doesn;t work, but what happens instead ?
Nothing happend on screen.
Maybe it is because Tween needs to call start()after interpolation
parameters are chosen :)
If i'm not wrong, in Godot documentation and various tutorials, start() is called with tween.interpolateproperty().
Here i'm using tweenproperty(), and it seems the method start() doesn't exist for it.
For exemple i tried this piece of code :
and it worked perfectly without using start().
Also, this won't work if new polygon has different amount of points
than old one
The amout of points of the old shape and the new shape is identical.
I even tested on a polygon2d node with a fixed amount of 4 points and tried to update the position of its points:
Result : same problem. Nothing happened.
Then i tried to tween the global position of this same polygon2D :
Result : it worked correctly !
So maybe it's the property "polygon" of polygon2D that can't be tweened ?
I'm at loss because i found nothing in the documentation, Godot Q&A, reddit and youtube.
So if you have another idea please let me know.