We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
according to user_guide,I try to use it。
tween.onUpdate(function(object) { console.log(object.x); });
But I can not get value of object.x,it print undefined in console。 like this: https://codepen.io/zhaoqize/pen/baqgjq?editors=1111
object.x
undefined
Is not that what I wrote?
thanks!
The text was updated successfully, but these errors were encountered:
Hi @zhaoqize I see some guides was not updated. FYI, there main package npm path was updated from tween.js to @tweenjs/tween.js
npm
tween.js
@tweenjs/tween.js
Change tween.js in config from https://cdnjs.cloudflare.com/ajax/libs/tween.js/16.3.5/Tween.min.js to https://unpkg.com/@tweenjs/tween.js
https://cdnjs.cloudflare.com/ajax/libs/tween.js/16.3.5/Tween.min.js
https://unpkg.com/@tweenjs/tween.js
And your pen should work fine
Sorry, something went wrong.
Wow, thank you very much!
The result is the same as I expected。
npm install @tweenjs/tween.js 2. import TWEEN from "@tweenjs/tween.js";
No branches or pull requests
according to user_guide,I try to use it。
But I can not get value of
object.x
,it printundefined
in console。like this: https://codepen.io/zhaoqize/pen/baqgjq?editors=1111
Is not that what I wrote?
thanks!
The text was updated successfully, but these errors were encountered: