Jump to content

southpaw

Dynamic IK advice please.

Recommended Posts

I've made a simple joint chain with an IK tag that I want to be able to control at either end with control nulls. 

It works fine, until I make the IK tag dynamic, then the end joint falls away from it's Joint Goal, even though I have enabled "Keep Goal" and "Contstrain Goal".

 

I'm trying to copy the same functionality you get with spline dynamics, where a spline can attached to an object at either end, and as you move the each controller the spline with dynamics moves accordingly, but the ends vertices stay attached to the controllers.

 

Is the problem a priority order issue? Or is the joint IK just not meant to work in this fashion?

 

The scene file is attached. Try enabling/disabling the Dynamics box and you see the end joint slip away from the Goal Null.

Dynamic Joint Chain.c4d

Share this post


Link to post
Share on other sites

  • Topic Author
  • @digivisions, 

    Thanks for the reply. I was beginning to suspect this. Tried a few workarounds like adding a 2nd goal, and extra PSR constraints, but nothing has worked so far. 

     

    Thanks again.

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • For anyone who is interested, I've attached a scene file that seems to fix the problem I had with the joint goal slipping away from from the control null, and the problem of how to control a  joint chain from either end using Joints and a Spline IK tag.

     

    Selecting the Spline IK tag, then in the Attributes Manager,  setting Type to "Equal" rather than "Fit" seems to keep the final joint in the chain attached to it's target.

    I used Clamp constraints to prevent the control nulls from travelling past a given distance for one another, to avoid the stretching you get with dynamic spines.

     

    Hit play on the timeline, then move the control nulls around to see the effect. 

     

    Hope this helps someone with a similar problem in the future.

    Spine IK.zip

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×