Hi,
I'm trying to animate a game object from one position to another position in script. I did use TweenPosition.Begin which was fine but I need a smoother animation curve.
I added a tweenPosition component to the game object, adjusted the animation curve to my liking and enabled it via the script. It worked fine once, but when i try to reset the to & from values and re-enable the script it won't allow me to. I can't even enable the script via the check box in the inspector once it's ran once.
I also tried ResetToBeginning() but that didn't make a difference.
Is there something I'm missing please?
Thanks