Jump to content
Juraj

lookat() vs. dihedral() VEX functions - quick question

Recommended Posts

Hi,
how would you describe difference between lookat() and dihedral() VEX functions?

Aren't both used to compute matrix3 to transform vector A onto vector B ?

 

Edited by Juraj
  • Like 1

Share this post


Link to post
Share on other sites

Well lookat doesn't actually rotate vector A on to vector B. it rotates the Z-Axis onto the vector formed from the "From" position to the "To" position. Lookat also allows an up vector. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×