PDA

View Full Version : postSolve method MPxIkSolverNode


mauro81
05-14-2009, 09:38 AM
Hi all,
Does anybody have ever used the postSolve method in the MPxIkSolverNode?
I made my softIk solver node and I would like to apply some calculation after the doSolve, but everytime I try to override this method the solver doesn't work at all.
Help me!!! :)

Thanks,
Mauro

scroll-lock
05-14-2009, 11:13 AM
hm.. I remember I was having trouble with the same a while ago. Just signing in here to email me on updates of the thread :)
I would be interesting to know how to implement that too.

mauro81
05-14-2009, 12:09 PM
The super class method needs to be called too:

def postSolve(self, status):
MyStuff
OpenMayaMPx.MPxIkSolverNode.postSolve(self, status)
return 0

CGTalk Moderation
05-14-2009, 12:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.