How to tween rotationY

Software: Away3D 4.x

chocobo_green, Jr. Member
Posted: 07 February 2013 06:43 AM   Total Posts: 38

I used TweenLite.to(mesh,{rotationY:angle}) to rotate. But it won’t pass the 0/360 gap. It would rotate almost a whole circle to reach the destination. How do I make it always rotate smaller than 180?

   

Kicker, Member
Posted: 09 February 2013 04:36 PM   Total Posts: 52   [ # 1 ]

TweenLite.to(mesh,{rotationY:angle % 180}) ?
Not really an Away3D issue…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X