Rigging

Rigging101 » Rigging128

Contrains and Conditions? (3 posts)

About This Topic

Tags

No tags yet.

  1. kwilli30

    offline
    Member
    Posted 8 years ago
    #

    Howdy folks!

    I'm looking to control a constraint depending on two different attributes on two different controllers, but I'm not sure how to set it up.

    In MEL, I'd say if ($int1 == 0 && $int2 == 0){$contraintWeight = 0}, but I'm not sure how to get that behavior out of condition nodes.

    I'd use a SDK, but since there would be two drivers, that won't work.

    Ideas?

  2. Javier "Goosh" Solsona (admin)

    offline
    Key Master
    Posted 8 years ago
    #

    you can have a plusMinusAvergae node that adds both $int1 and $int2
    then plug that into the condition node

  3. Animatix

    offline
    Member
    Posted 8 years ago
    #

    or you could have two condition nodes. if color true -> if color true... sort of thing. havn't tried it but it sounds good to me

Reply

You must log in to post.

Rigging101 » Rigging128
1,099 posts in 307 topics over 110 months by 188 of 8,226 members. Latest: fashionpvp, d2q4p5z2j, gasheldonl