Hello, i have a question using quaternions. I'm looking for a method to set a quaternion depending on two vectors - like one vector for direction and one vector representing an up-vector. The method i need should set a quaternion so that the quaternion could be used to rotate an object into the state that it looks in direction given by the direction-vectors and pointing up into direction given by the up-vector. Is there a possibility to do that?
Or, likely the same: Is there a way to create a quaternion that represents the coordinate system defined by three axes? Kind regards Sebastian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
