1
DOTween & DOTween Pro / Re: Position flickering
« on: March 29, 2016, 12:26:17 PM »
Hey Daniele, thanks for the tip!
Yes ,I know it's the same var, my error was supposing that if I change the globalPosition with the startPoint.y == endPoint.y == 0 it would not change in the interpolation, but Y is part of the animation computation as a field of position, so of course it's changing over time together with the localPosition tween XD
I feel dumb lol
Well, now i know what i can i do, separate in 2 tweens, for global x and,z positions with DoMoveX, DoMoveZ and do in the update of one of them the localPosition.Y changes
Thanks!
Yes ,I know it's the same var, my error was supposing that if I change the globalPosition with the startPoint.y == endPoint.y == 0 it would not change in the interpolation, but Y is part of the animation computation as a field of position, so of course it's changing over time together with the localPosition tween XD
I feel dumb lol
Well, now i know what i can i do, separate in 2 tweens, for global x and,z positions with DoMoveX, DoMoveZ and do in the update of one of them the localPosition.Y changes

Thanks!