GallenWolf Posted February 23, 2011 Share Posted February 23, 2011 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 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 1 Quote Link to comment Share on other sites More sharing options...
Macha Posted February 23, 2011 Share Posted February 23, 2011 I love it! It's great! 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.