need some help! plz!

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 04 April 2003   #1
need some help! plz!

Hi everyone!
Well now im sad coz I was testing this tutorial (http://www.highend3d.com/maya/tutor...echar1/part2.3d), it was beeing perfect then in a time, buuum... error!

I made the hole skeleton and what he asked me to do, then when i need to write a script it hangs, the script dont work:

L_ankleIK.twist = -CntrlLankle.rotateY;
// Error: L_ankleIK.twist = -CntrlLankle.rotateY; //
// Error: Invalid use of Maya object "CntrlLankle.rotateY". //

Everything is ok, i saw the hypergraph, the names of the joints, IK´s , the connections and everything and nothing to search about this, can anyone help me?

Thanks
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 04 April 2003   #2
L_ankleIK.twist = -> - <-CntrlLankle.rotateY;

Whats that minus symbol in front of CntrlLankle.rotateY;?
Thats isnt whats causeing it is it?
 
Old 04 April 2003   #3
well, its not that, plz can anyone help me?
have anyone tried this tutorial?
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 04 April 2003   #4
pleeeeeeasseeeee!
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 04 April 2003   #5
If that minus sign isn't the problem then what is it for?

I don't even know what the operation is supposed to do.

Are you trying to connect the attributes?

L_ankleIK.twist = -CntrlLankle.rotateY;
// Error: L_ankleIK.twist = -CntrlLankle.rotateY; //
// Error: Invalid use of Maya object "CntrlLankle.rotateY". //
Just look at what the error is telling you. Why does it tell you to put a minus sign in front of CntrlLankle.rotateY?
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya


 
Old 04 April 2003   #6
well, i really dont know, im just doing what the tutorial said!
thx for the post
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 04 April 2003   #7
Ok I looked at that tutorial and saw the usage of that script. I don't know how you have your rig set up but heres a few reasons that the script may be not working. First your controls must have the exact names as specified in the script.

L_ankleIK.twist = -CntrlLankle.rotateY;
// Error: L_ankleIK.twist = -CntrlLankle.rotateY; //
// Error: Invalid use of Maya object "CntrlLankle.rotateY". //

if your IK for your left ankle is not named L_ankleIK, the script will not work, same thing for the control object CntrlLankle

I'm not totally sure how the rig is set up but usually when you have the rotation of an object driving the twist of an Ik the minus sign is not used, but I haven't done this tutorial so I'm not sure.
__________________
Rest In Peace... Dime....
 
Old 04 April 2003   #8
I did look at the tutorial. I also have the entire thing spelled out correctly, and am still getting the same result as bugo. It's really not working as expected.

Okay, the only reason I can figure for the minus sign is this:

If I use connectAttr to attatch these two things, it works.

connectAttr CntrlLankle.rotateY L_ankleIK.twist;

But it rotates in opposite directions (so it doesn't really work).

so th minus sign is supposed to make the rotate the connection in a reverse fashion.
But it doesn't work for me either. Oh, well. You could always try another way to connect them. Or use a different foot setup.
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya


 
Old 05 May 2003   #9
thank you guys, i was expeccting that this is a script error, well, how can i connect this in other form and rotate the leg with the torus, just like the tutorial said?

If this is not the way i will be here waiting for another tutorial, well, i m not any good about this rigging character stuff..heheh

THX again!

God bless!
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 05 May 2003   #10
You know, I really like this other leg design, it's a bit more complex and you may have to do it a couple times, but it might end up being something you like.

http://www.jawa9000.com/technical/f...l/foot-roll.htm

[edit]
Sorry it took so long to help you on this one
[/edit]


This command goes into the expression editor.
Open up the editor, then select something that is easy to remember. What I did was selected the IK handle and it's twist attribute (because that is what you are going to affect).
And typed in;
L_ankleIK.twist = -(CntrlLankle.rotateY);

You don't need the brackets but I always like to put them on the outised like that.
This will make your leg attribute turn the correct way.
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya



Last edited by dmcgrath : 05 May 2003 at 05:45 PM.
 
Old 05 May 2003   #11
dude you are the BEST!!!! thank YOU!!!!!

it worked, now the leg is rotating...
when I rotate his ctntrlAnkle torus the knee turn around with the leg, but i dont know, its something strange... when my foot goes to -Y, the knee goes inside the leg, when +y, the knee goes outside the leg, is that right?
__________________
Hugo Beyer
www.hugobeyer.com

Last edited by bugo : 05 May 2003 at 09:55 PM.
 
Old 05 May 2003   #12
It sounds like you forgot to make the pole vector. Or you haven't grouped the pole vector under the toorus.
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya


 
Old 05 May 2003   #13
its hard to understand english some times, every tutorial i search is in english, some times i forget little things, but in the other side im learning this language... well, thx again dude!!!
__________________
Hugo Beyer
www.hugobeyer.com
 
Old 05 May 2003   #14
Too bad I dont know Portugese, I actually think that would be nice.
__________________
"Don't worry about the world coming to an end today.
It's already tomorrow in Australia."
---- Charles Schultz


Low - Poly Batman in Maya

Tiamat - The World Dragon (Maquette)


Online Tutorial: Character Rigging for Maya


 
Old 01 January 2006   #15
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:29 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.