Wednesday, June 24, 2015

Driven Keys not working

Ahoy!

So here was one of my issues while I was rigging a wing while following a Digital Tutors course. The wing was separated in three main parts to control the fold of the wing and about 5 to 6 parts on each one to control the feathers.



I´ve created a Control (the 3 big cubes) for each main wing part, and a Locator as a child to control the fold. I´ve added an Attribute on the cube control (Wing Fold).


I also connected that Attribute to the rotation of the Locators.





 I used a SetDriven key between the cube and the locator with the start and end position of the wing fold.



But when I was testing it, the wing only showed those positions, the ones I have added. After a lot of research, rebuilding the rig, finally found the solution. It was pretty simple, just head to the graph editor and check the tangents on those locators (the driven ones). They were set to stepped, that's why Maya didn´t interpolate the values on the Attribute Wing Fold. Just change them to linear.



Now it works fine.



I´ve seen this issue on other rig sets:
          - Hand rigs, were the fingers wont interpolate while opening or closing them
          - Eyes rigs, when eyelids only shows the start and end position of the blink.

Just remember to check the tangents on your Custom attributes and on everything you connect them to.

Have fun!


Ahoy!

Hi there, Internet and Maya users,

I´m Jose Manuel, a 3d artist working at Risin Goat. Last two years I´ve been modeling, rigging and animating the characters and environments of our first project A Rite from the Stars.
We are developing with Autodesk Maya and Unity. We were a noob team developing Videogames and faced the consecuences :)

So I decided to create this blog in order to help Maya users (sometimes Unity) with those daily issues, the one´s I had to deal with.

Hope this is helpful to you.
Live long and prosper, Jose.