You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to change values to track dynamically (just in motion)? For example: initially I'd like to track only y but as soon as y === 20px I'd like to track x as well.
The text was updated successfully, but these errors were encountered:
I've never tried this and I'm about to go AFK. But off the top of my head you could try it a few ways.
One would be to track both y and x at all times, but set a min and max of x to 0 - then when y === 20 yu could set yourActor.values.x.min = undefined and the same for max.
You could in theory make two Track classes, one for each axis, and then start the second later - but for various reasons that shouldn't be true I'm not sure it would work right now.
If these don't work I'll take a look tomorrow and get back to you. If it isn't possible, it should be!
Is it possible to change values to track dynamically (just in motion)? For example: initially I'd like to track only
y
but as soon asy === 20px
I'd like to trackx
as well.The text was updated successfully, but these errors were encountered: