Hi. I was wondering if anyone had ever managed to implement a working manipulator using the API's manipContainer and the base rotateManip. I've searched a fair bit and haven't found any working examples. About all I found were some posts from Chad Vernon asking basically what I'm asking, but no replies. I know Chad's subscribed to this list, so maybe he will have come to some conclusion about this.
This is not the best-documented part of the API, so I could just be misunderstanding something, but as far as I can tell rotateManip doesn't work. We tried just hooking straight up to a node's plugs, and when operating in object space the Euler axis handles worked, but the outer handle didn't, if any rotation had been added using any other axis. In world space nothing seems to work- as soon as there is rotation around more than one axis the results are incorrect. We tried writing a conversion call back function and looking at the numbers we were getting from the manipulator. There's a pattern to what is going wrong- I think it has to do with composing rotations- but we have so far been unable to figure out how we might make this work, and we're starting to come to the conclusion that this bit of the API just doesn't work. But I'd be delighted to find out that we're wrong about that, so if you have any experience writing custom manipulators (particularly ones that work in world space and use the conversion callbacks to modify values) I'd appreciate any information you have on the subject. Thanks T -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
