Jump to content

Learning about Quaternions


Recommended Posts

Hello all!

I just entered the fascinating world of quaternions, and I just tried to create a turtle that follows a point. I have got it working but I'm not sure if I'm doing the right thing!

For the orientation, I'm using the Look At VOP to create a rotation matrix, converting this matrix to a quaternion (Matrix To Quaternion VOP), then using a Sperical Linear Interp VOP (SLERP) vop to control how much to rotate between the current frame's rotation and previous frame's rotation. Basically, I'm not sure if this is correct, using the look at vop to get matrices, then converting matrices to quaternions :unsure:

I'm setting the velocity straight using a normalize direction vector with a multiplier.

Here's a youtube vid of what I got :3

Thanks!

Regards,

Alvin

quaternion.hipnc

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...