You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
Hi folk!
Made a custom aim constraint with maya python api(1.0). As I move the aiming object around in the scene for some reason it just keeps spinning in
random angel instead of pointing at the aim target and the rotation attr values go up thousands. The final
matrix and euler values are actually correct (I printed them out and assigned them to another object ). I guess the issue is probably about the way setting output value but I am not
sure. Maya2018 is used. Thanks so much!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
Found the problem myself. I used MFnNumericAttribute to create output rotation attrs instead of MFnUnitAttribute which constructs translate and rotation attrs on transform node and that made the rotation values go crazy...