Difference between the documentation on the website and GitHub for tween rotation


I just noticed that there’s a difference in the code given for rotation in this demo. Here we used Quat and “To”.

And this is what I can find in the GitHub documentation of tween. Here we use Euler and “rotate”

1 Like

Edit: my original answer was incorrect. Yes, that is probably an old documentation issue. I think the tween library was updated at some point long time ago. Would you like to submit a PR with a correction?

I can but the documentation is also linked to an old project as example, which is also out of date.