Tweenguys out of sync ?

Software: Prefab3D

Rasterizer, Member
Posted: 29 November 2012 11:22 AM   Total Posts: 69

Maybe I’m doing something wrong, but the logic should be simple.

Tweenguy1 - y-axis 0 to 100 in 5000ms, looped
Tweenguy2 - z-axis 0 to 42 in 5000ms, looped

To me, the results should be predictable. The object arrives at the location 0,100,42 in 5000ms, then resets to 0,0,0 and loops on.

What I get however is that one of the axis finishes first, then bounces to 0, then the other axis finishes. Unpredictable jumping ensues.

How do I sync them so that the result is a smooth path ?

   

Rasterizer, Member
Posted: 29 November 2012 11:33 AM   Total Posts: 69   [ # 1 ]

After having written my OP I noticed the guys got in sync. Guess it takes a little time for them to sync properly. Sorry for my post, didn’t mean to confuse anyone.

Great work, Fabrice!

   

Avatar
Fabrice Closier, Administrator
Posted: 29 November 2012 12:30 PM   Total Posts: 1265   [ # 2 ]

If you send me a simple test case class to reproduce, I can take a look, as it should be correct right away.

Glad to see you use the api. If only I could find the time to make a demo/tut that would show the crazy things you can do with it and how easy that is… days are simply too short!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X