Thread: Bone Rotations
View Single Post
  #2  
Old 08-22-2008, 10:24 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I ran the following code:
Code:
male_pelvis.setEuler([0,0,0],viz.ABS_PARENT)
print male_pelvis.getEuler(viz.ABS_PARENT)

male_pelvis.setEuler([0,0,0],viz.ABS_GLOBAL)
print male_pelvis.getEuler(viz.ABS_GLOBAL)

male_pelvis.setEuler([0,0,0],viz.AVATAR_WORLD)
print male_pelvis.getEuler(viz.AVATAR_WORLD)
And got the following output:
Code:
[0.0, 0.0, 0.0]
[-3.4150864394177916e-006, 0.0, 0.0]
[-2.4426660780868525e-012, 6.5951979988376763e-011, 0.0]
All those values are equivalent to [0,0,0], so I'm not sure what exactly the problem is.
Reply With Quote