>>OK, this is going to take somebody about 3 seconds to answer I would
>>think...
>>
>>I have an object who's surface normal is +Y. I need to rotate it in such a
>>way that its surface normal becomes equal to a user-supplied vector. How
>>do I figure out the necessary angles?
>
>
> Unless you actually need to know the angles you can reorient an object
> without knowing them by using Point_At_Trans(YAxis) or Reorient_Trans(Axis1,
> Axis2) from transforms.inc.
>
> These both rotate the object around an axis perpendicular to the plane that
> both the initial vector and the final vector lie on.
Right. That should work...
Post a reply to this message
|