- Home /
 
               Question by 
               TonyP · Nov 16, 2010 at 07:06 AM · 
                itweenorienttopath  
              
 
              Itween orienttopath
I'm using itween.moveTo with a path and orienttopath set to true.
My object is following the path fine, but it's only rotating(orienting) on it's Y axis. Is it possible to get it to bank around the corners with the path?
               Comment
              
 
               
              Answer by pixelplacement · Nov 17, 2010 at 04:52 AM
iTween cannot do this natively but if you put an object on a path, set it to orient as you are and then attach this to another object by a hinge joint... well I hope your imagination can figure out the rest. :)
Basically just create a joint system and animate the root of the system. It would be like holding a Yo-Yo rolled out and iTween-ing your hand. $$anonymous$$ake sense?
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                