Hi,
I don’t know if anyone can help me with this, but I’m running out of ideas here!
I am trying to write a script that will return the rotation of a bone in an armature - but nothing I do seems to work!! I haven’t been able to access bones within the armature via python. I was under the impression that one of the updates for 2.24 or 2.25 was python access to armatures!! Does anybody have the release notes of 2.24 and 2.25?
I have tried to get the rotation of objects parented to the bone, objects parented to the object (which was parented to the bone) as well as getting the rotation of objects with a copyRotation constraint to the bone!! Nothing!
If it’s the armature that is causing the rotation, then as far as python is concerned the objects are not rotating! So it keeps returning ‘0’.
What I’m trying to do is something similar to the ‘copyRotation constraint’ but I need to get the xRot from one object and the yRot from another. The ‘copyRotation constraint’ does not allow us to choose which axis to copy unlike the ‘copyLocation’
Any suggestions or workarounds are appreciated. With any luck it’s just a function in the module that I’m not noticing!
Thank you for your suggestions and time!
Confused
Fabrizio
<font size=-1>[ This Message was edited by: ilac on 2002-03-19 17:09 ]</font>