On Wed, Jun 8, 2016 at 10:57 AM Rudi Hammad <[email protected]> wrote:
> Okey...my future is in your hands. I have my McDonalds outfit next to me > .... > > another oop attempt <http://pastebin.com/zGx0KQ6h> > > I´ve explained all in the code, so I will not extend myself here. So if I > am still not getting it, well....burgers are okey > Would you expect a Cartoon limb to always create a stretchy IK as part of its standard behaviour? If so, then you would probably override makeIk() in your CartoonFeatures, and do: def makeIk(self): # do normal ik logic super(CartoonFeatures, self).makeIk() # do stretchy part here In this version, it would mean that no matter what kind of BaseLimbRig you had, you could always call makeIk() on it. Because of it being OOP, the message dispatches to the correct receiver and you get different implementations. > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/1e3de1ed-af92-403a-bfc3-11e1c035c547%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/1e3de1ed-af92-403a-bfc3-11e1c035c547%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2_OX3utq83kL48mGzuN6nCMTJo2CYiPwx-7KBCx2ZgDA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
