- Home /
This question was
closed May 16, 2013 at 10:24 AM by
Fattie for the following reason:
Duplicate Question
Question by
Kihyun Lee · May 16, 2013 at 10:03 AM ·
quaternionmatrix
convert quaternion to matrix
hi. I want to know how to convert quaternion to matrix. if you have a quaternion value, (x = 0.762239, y = 2.5151932, z = 0.497635, w = 0.993382) how can i change quaternion to matrix of rotation ? and how can i apply the matrix of rotation to transform.rotation(quaternion) ?
please let me know about this. Thanks.
Comment
never use Quaternions for any reason
just use eulerAngles or .Rotate
search here for 10000000s questions on "eulerAngles" or .Rotate
go to unityGE$$anonymous$$S.com for beginner articles on the issue
You can use $$anonymous$$atrix4x4.TRS () method with quaternion passing.