Jump to content

Matching IK to FK


midicon

Recommended Posts

HI I'm trying to create a tool that Matches IK to FK in a click of a button, using python. 


Everything works great untill I copy the translation information from the tempNull (Which is put in place to act as the pre-transforms for the IK) to the ikHandle. When I run to tool they both fly off in to space? when I was hoping that the ikHandle would snap to the end of the bone. I'm assuming that this has something to do with pre-transforms but I can't figure it out. I have attached 2 still's as one is of the tempNull working correctly and snapping to the end of the bone (before I copy the transforms to the ikHandle) and the 2nd is the tempNull and the ikHandle shooting off into space.  Has anyone experienced this? Sorry if this is vague, any help is greatly appreciated  

 

Rob

post-13079-0-45712500-1450467551_thumb.p

post-13079-0-76275800-1450467554_thumb.p

Link to comment
Share on other sites

Try to use option from a first picture and run the script.
If it's not working you need to set Child Compensation option in your python script on the IkHandle

you need to try both options, I don't remember the exact parenting and pre-tranform stuff in houdini

 

post-12734-0-68417300-1450869928_thumb.p

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...