On Thu, Jan 8, 2009 at 12:41 PM, ben <[email protected]> wrote: > 1 - Angle between two Object3D : > in order to get it I'm doin this : > > leaf.position.normalize(1);//as dot product only works with normalized > vector (as I now)... > leafArr[j+1].position.normalize(1);//idem > var angle:Number = leaf.position.dot(leafArr[j+1].position);//dot > product > > I should return the cos of the angle and then use it to make my object > rotate well, but this doesn't work : > they are 3 dimensions of rotations and only one angle...
this angle is rotation around vector1-cross-vector2
