Jump to content

A suggestion for the toon rig character


ofer

Recommended Posts

Hi,

As Im working with the toon character coming with Houdini, I figure that a very welcome - and pretty simple to implement - functionality, will be to add a "flip pose" button, like the "match FK to IK" buttons. It is pretty cumbersome

to copy the values from one hand or leg to the other, one after another. So a "flip legs", "flip arms", "match right arm to left arm" etc., will be a welcome addition to this character.

Link to comment
Share on other sites

Something like this, for example:

def flipParms(p1, p2):

p1 =

p2 =

v1 = [i.eval() for i in p1]

v2 = [i.eval() for i in p2]

for i in zip(p1, v2):

i[0].setPending(i[1])

for i in zip(p2, v1):

i[0].setPending(i[1])

def flipPose(t):

flipParms("right_leg_ctrl", "left_leg_ctrl")

flipParms("right_arm_ctrl", "left_arm_ctrl")

flipParms("right_hand_ctrl", "left_hand_ctrl")

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...