tweenjs/es6-tween

Passive versus active source and destination settings

Closed this issue · 4 comments

There are two ways that a tween can respect the starting values: by only using the starting values when the tween started (passive), or by using the current values from the starting object (active).

I made an example that demonstrates the difference between passive and active in the source and destination objects: https://mikebolt.github.io/discuss/examples/active_tweens.html

I think we should add options for making the tween source-active and/or destination-active. The current default of passive/passive should remain the same.

I am not understand the feature, please explain bit more. source code too looks logically...
EDIT: Now i see what you mean, but es6-tween support both

@mikeBOLD maybe you can make PR for this?

Sure, I can work on this. I haven't looked at the source code for es6-tween yet.

It's now can be apply via method setActiveMode().
Commit hash 056f13c