FashGek / hotween

Automatically exported from code.google.com/p/hotween
0 stars 0 forks source link

OrientToPath() problem? #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. PlugVector3Path path = new PlugVector3Path(new Vector3[] { a,b 
}).OrientToPath();      
2. TweenParms parms = new TweenParms().Prop("position", 
path).Ease(EaseType.linear);
3.  HOTween.To(transform, time, parms); 

What is the expected output? What do you see instead?
 .the same Quaternion as LookAt (Z-axis face to the move direction)
   .but I see the X-axis face to the move direction;

What version of the product are you using? On what operating system?
 .HOTween v0.8.001 (.zip)

 

Original issue reported on code.google.com by zcyc...@gmail.com on 17 Jan 2012 at 10:13

GoogleCodeExporter commented 9 years ago
Ooops, made some changes while trying to resolve the other PlugVector3Path 
issue that caused this. Today will try to fix both, or at least reset 
OrientToPath to it's normal state.

Original comment by daniele....@gmail.com on 17 Jan 2012 at 11:54

GoogleCodeExporter commented 9 years ago
Fixed all PlugVector3Path issues :)

Original comment by daniele....@gmail.com on 17 Jan 2012 at 1:05