SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
STOCKYARD
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
MAYA:
MAYA Forum
MAYA Tutorials
MAYA
Re: 1 Slider, 2 Attributes
COW Forums
:
MAYA
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: 1 Slider, 2 Attributes
by
Steve Sayer
on Jan 6, 2012 at 6:38:43 pm
When you're trying to add math to commands you are often required to put it in parentheses. So this might work:
else setAttr "BodyBlendShape.ConvexNoseBS" (-1 * $mySliderPos);
Another way to get rid of a negative number is with the abs() function. abs($mySliderPos) will always return a positive value.
Remember you're still going to need to add some extra code to zero the unwanted blendshape in both cases, since I assume you don't want them to overlap and add to one another.
Hope that helps,
-Steve
Posts Index
Read Thread
Reply
Like
+1
Current Message Thread:
1 Slider, 2 Attributes
by Jacqueline Johnsen on Jan 4, 2012 at 4:45:14 pm
Re: 1 Slider, 2 Attributes
by Steve Sayer on Jan 4, 2012 at 5:14:26 pm
Re: 1 Slider, 2 Attributes
by Jacqueline Johnsen on Jan 5, 2012 at 3:42:28 pm
Re: 1 Slider, 2 Attributes
by Steve Sayer on Jan 5, 2012 at 6:08:44 pm
Re: 1 Slider, 2 Attributes
by Steve Sayer on Jan 5, 2012 at 6:30:13 pm
Re: 1 Slider, 2 Attributes
by Jacqueline Johnsen on Jan 6, 2012 at 4:59:36 pm
Re: 1 Slider, 2 Attributes
by Steve Sayer on Jan 6, 2012 at 6:38:43 pm
Re: 1 Slider, 2 Attributes
by Jacqueline Johnsen on Jan 6, 2012 at 10:31:25 pm
Re: 1 Slider, 2 Attributes
by Steve Sayer on Jan 9, 2012 at 2:54:45 pm
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
MAGAZINE
•
STOCKYARD
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]