I have a simple projectile that is an Area2d with a sprite in it. I am moving towards a set position. I want to scale down based on how far along I am - 50% of the way there should be 50% smaller etc.
node.scale(Vector2(0.5, 0.5)) seems to be additive because my node (projectile) disappears quickly. What am I doing wrong here?
var percentleft = targetpoint.distance_to(self.get_global_pos())/initialflightdistance
I am thinking that I need some other approach, like a global scale. This call seems to be "additive" to the existing scale on the object? So I might scale to 90% then 90% of that 90% then 90% of that and so on.