-
Tween Class and Guide
Is it possible to move something using the tween class with a motion guide?
How would I do this?
-
or if not, at least tween the x and y coordinates, but have it animate along a slight curve instead of a perfeclt straight line.
-
http://pat.theorigin.net
the short answer is no, you can't tween class along a guide or a curve. You'll need to write the math for the geometry you are looking for, and trust me, it's ore complex it sounds.
-
So in this instance, I'm actually probably better off just motion tweening?
Or maybe a sequence of shorter, tween class animations to fake the curve?
-
Bearded (M|G)od
You can fake a slight curve using the Tween class with different easing equasions for each axis. For example, the x axis uses None.easeNone, and the y axis uses, Strong.easeOut. You'll get a curve. Play with that stuff, you can get interesting results.
-
http://pat.theorigin.net
as long as you aren't moving directly horizontally or vertically.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|