mrcoolmen Posted July 1, 2015 Share Posted July 1, 2015 Hey Guys, Jt out of curiosity what is the different between look at and double cross product to get orient attribute? Thank you so much to clear my doubt Quote Link to comment Share on other sites More sharing options...
anim Posted July 1, 2015 Share Posted July 1, 2015 (edited) not sure what answer you are looking for both can be used to compute a rotation matrix, and both can even give you the same rotation matrix if you understand what they do, they are just functions to serve you to get to some result while lookat() is specific about the orientation of the axes within the matrix to correspond to inputs, with double cross product you need to know what vectors you are using for which axes and as well you need to handle normalization and matrix assembly, it's like building your own lookat() function using lower level math (lookat() probably uses cross products to compute matrix as well) there is plenty of other ways how to compute rotation like you can as well use maketransform() to compute rotation matrix from 2 vectors Edited July 1, 2015 by anim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.