Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 02-12-2002 , 04:18 AM
crgowo's Avatar
Registered User
Join Date: Sep 2002
Posts: 24

What is wrong with my exression it doesnt seem to work.

Cwaist is all the bones gouped so its pivot is in the orgin
rfoot and lfoot are my control foot bones. and im tring to gey the waist to say inbetween the feet. so when i move a foot forward the body stays inbetween rfoot and lfoot.

here is my expression

Cwaist.tx = (rfoot.tx + lfoot.tx)/2;
Cwaist.ty = (rfoot.ty + lfoot.ty)/2;
Cwaist.tz = (rfoot.tz + lfoot.tz)/2;
Cwaist.ry = (rfoot.ry + lfoot.ry)/2;

here is my error

expression -s "Cwaist.tx = (rfoot.tx + lfoot.tx)/2;\r\nCwaist.ty = (rfoot.ty + lfoot.ty)/2;\r\nCwaist.tz = (rfoot.tz + lfoot.tz)/2;\r\nCwaist.ry = (rfoot.ry + lfoot.ry)/2;" -o "" -n "Cwaist_expression" -ae 1 -uc all ;
EEnodeAdded Cwaist_expression;
// Error: More than one attribute name matches. Must use unique path name: rfoot.tx //
// Error: More than one attribute name matches. Must use unique path name: lfoot.tx //
// Error: More than one attribute name matches. Must use unique path name: rfoot.ty //
// Error: More than one attribute name matches. Must use unique path name: lfoot.ty //
// Error: More than one attribute name matches. Must use unique path name: rfoot.tz //
// Error: More than one attribute name matches. Must use unique path name: lfoot.tz //
// Error: More than one attribute name matches. Must use unique path name: rfoot.ry //
// Error: More than one attribute name matches. Must use unique path name: lfoot.ry //
EEnodeRemoved Cwaist_expression;

im at a loss i have no idea what im doing wrong. Thanks.

# 2 02-12-2002 , 07:38 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
A wild guess: Have you tried using "translateX" instead of "tx" and so on?


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 3 02-12-2002 , 09:17 PM
crgowo's Avatar
Registered User
Join Date: Sep 2002
Posts: 24
ya and its still a "no go" user added image

# 4 07-12-2002 , 03:39 AM
Registered User
Join Date: Dec 2002
Posts: 1
You probably have more than one object named lfoot and rfoot.
The err msg is asking you to specify their paths.

e.g.
character|rfoot.tx
|rfoot.tx (in this case, rfoot is a root joint)

# 5 08-12-2002 , 05:30 PM
crgowo's Avatar
Registered User
Join Date: Sep 2002
Posts: 24
ya on my geometry it had a rfoot lfoot name. So i called the joints clfoot crfoot for control. Thanks for the help.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads