Thread: Bone Rotations
View Single Post
  #4  
Old 08-25-2008, 06:04 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
No, each bone has a single position/rotation. The different mode options simply specify in which coordinate frame you want to set the value of the bone. In your code the line:
Code:
male_pelvis.setEuler([0,0,0],viz.ABS_PARENT)
does nothing because you change the bone rotation in next line using viz.ABS_GLOBAL mode. The 2 values are different because viz.ABS_PARENT is getting the bone rotation in the parent bones coordinate frame and viz.ABS_GLOBAL is getting the rotation in the global coordinate system (which accounts for parent bone and avatar rotation)
Reply With Quote