Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Animation / Joints in global coordinates?
  RSS 2.0 ATOM  

Joints in global coordinates?
Rate this thread
 
40659
 
Permlink of this thread   Subscribe to this thread
avatar
  • NGM04
  • Posted: 12 March 2010 05:05 AM
  • Total Posts: 13
  • Joined: 19 January 2009 05:56 PM

Hello guys,

Is there any way to get the global coordinates of a joint in a skeleton without having to program the FK like :
j4.gx=j4.translateX*cos((j1.rotateZ+j2.rotateZ+j3.rotateZ)*3.14/180)+j3.translateX*cos((j1.rotateZ+j2.rotateZ)*3.14/180)+j2.translateX*cos(j1.rotateZ*3.14/180)

Would really appreciate the help.
Nick



Replies: 0
avatar
  • THNKR
  • Posted: 12 March 2010 06:01 AM

you can use the xform command



Replies: 2
/img/forum/dark/default_avatar.png

will that query the worldspace coordinates of joint?

thx for the reply

Author: NGM04

Replied: 12 March 2010 06:18 AM  
/img/forum/dark/default_avatar.png

I got it !!! u rock man . Really appreciate it! for a sec there i though I d have to write down the 27 DOF FK.

Author: NGM04

Replied: 12 March 2010 06:26 AM  




   
  Settings Choose Theme color: