JCM to dial morph OFF with positive and negative bend

I have a morph which I want at 100% when a joint is at zero bend.  When the joint is bent in either direction, I want the morph dialed to zero as the rotation approaches its limit.

I've gotten it to work correctly in one direction by setting the morph's default value to 100% (minimum value 0), and proceeding to hook the morph up to the joint with ERC freeze.  But when I bend the joint to its opposite extreme and repeat the process of ERC freezing the morph at 0 there, it stops working in the first direction (the morph no longer dials towards 0 that way).

So to summarize, I want:

joint bend 0, morph 100
joint bend +50, morph 0
joint bend -90, morph 0

Is it possible to do this?

Comments

  • AbnerKAbnerK Posts: 718

    I'm rendering at the moment so I can't check it but, Richard sorted it for me. Mine was a slightly different problem but, I'm guessing it's the same solution. I can see it in my head. How's your maths?

     

    https://www.daz3d.com/forums/discussion/387186/jcm-terrible-at-50#latest

    You can do this, but it requires manually setting up (or at lesat editing) the ERC links rather than using ERC Freeze. For example, to stop a JCM from kicking in below a certain value you can add a negative constant to it which - assuming the JCM's lower limit is 0 - will keep it at zero until the bend component is hgh enough to balance the constant; stopping a JCM is just a matter of adjusting the multiplier and making sure that its maximum value is 1, so that it ignores any further bending. You do all this through the Property Hierarchy pane, you can find the JCM (or the controller) by right-clicking o its slider in the Parameters pane and selectingthe optin to Show in Property Hierarchy, then look at Controllers (if you are dealing with the JCM) or Sub-components (for the bend) to find the existing links, or to create a new one by dragging the other proeprty across from the Parameters pane.

     

  • AbnerKAbnerK Posts: 718
    m.evans said:

    I have a morph which I want at 100% when a joint is at zero bend.  When the joint is bent in either direction, I want the morph dialed to zero as the rotation approaches its limit.

    I've gotten it to work correctly in one direction by setting the morph's default value to 100% (minimum value 0), and proceeding to hook the morph up to the joint with ERC freeze.  But when I bend the joint to its opposite extreme and repeat the process of ERC freezing the morph at 0 there, it stops working in the first direction (the morph no longer dials towards 0 that way).

    So to summarize, I want:

    joint bend 0, morph 100
    joint bend +50, morph 0
    joint bend -90, morph 0

    Is it possible to do this?

    Oh, I sorted this problem out in the past by fudging, I imported and exported the morph a couple of times until I'd got it working in the opposite direction using reverse deformation. It worked perfectly. 

  • m.evansm.evans Posts: 3

    Thank you, I can see now I will need a 2nd morph for one of the directions (which will just be restoring the default shape).  It seems a little redundant but I suppose there's no getting around it, as long as it works I can live with it.  Thanks again jimmac-donald (and Richard by proxy) wink

Sign In or Register to comment.