WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-24-2010, 10:20 PM
atamasan atamasan is offline
Member
 
Join Date: Jul 2009
Posts: 26
Question about angles

Hello. I've written some questions and got many useful comments here, thanks a lot.

I have a question about angle.
Now, I am trying to get angle between 2 bones of 'hand.cfg'.
Especially, I want to get angle between 'bone little 4-0' and 'bone little 4-1' when grabbing object.

To do this, I'm using 'vizmat.QuatDiff' now.
Code:
bone1=hand.getBone('bone little 4-0')
bone2=hand.getBone('bone little 4-1')
bone1,bone2.lock()
.
.
.
print vizmat.QuatDiff(bone1.getQuat(),bone2.getQuat())
I could get a angle by this code. But I don't know if this code is wrong or not.
note:I want to know angle along Y AXIS in bone2's PARENT COORDINATE SYSTEM because this is main angle when human's hand grab something.

Should I use AxisAngle or something?
Please give me some advice and I am sorry for my English everytime.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Polygon angles tsgk Vizard 3 10-21-2010 11:59 PM
question about NVIDIA 3D vision Weihua An Vizard 5 08-02-2010 06:49 AM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
Another color question mjabon Vizard 4 07-31-2007 03:04 PM
coalesceing euler angles epl Vizard 6 05-28-2004 05:25 PM


All times are GMT -7. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC