Hello,
When I run the following code, I don't get 0,0,0 output as I expect.
Code:
male = viz.add('vcc_male.cfg')
male.setEuler([0,0,0])
male.setPosition([0,0,0])
male_pelvis = male.getBone('Bip01 Pelvis')
male_pelvis.lock()
male_pelvis.setEuler([0,0,0],viz.ABS_PARENT)
male_pelvis.setEuler([0,0,0],viz.ABS_GLOBAL)
print male_pelvis.getName()
print male_pelvis.getEuler(viz.ABS_PARENT)
print male_pelvis.getEuler(viz.ABS_GLOBAL)
print '\n'
Even if I add a 'male_pelvis.setEuler([0,0,0],viz.AVATAR_WORLD)' to it, it gives different numbers but still not 0,0,0. I'm thinking I don't understand how it works. Can you explain to me how the different 'rotation spaces' work, and why this isn't outputting 0,0,0?
Thanks,
Stephen