Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 07-08-2008 , 10:07 PM
pbman's Avatar
Subscriber
Join Date: Mar 2005
Location: London
Posts: 1,135

float slider

how do i assign a floatSlider to do a translatey

i have looked in hel docs but they only tell you how to make a slider that does not control anything

i want it to translate object browR
floatSlider -value 0 -step 0.1 -min 0 -max 1 -hr false;
this is all i have so far

cheers


Now at SMU doing BSc 3D Computer Animation so its hard to get on here
My wire render tut https://forum.simplymaya.com/showthre...threadid=20973
# 2 08-08-2008 , 07:07 PM
pbman's Avatar
Subscriber
Join Date: Mar 2005
Location: London
Posts: 1,135
ok figured it out

floatSlider -value 0 -min 0 -max 1 -step 0.1 -hr false -dc "select -r browR ; \ float $heightValue = `floatSlider -q -value heightSlider`;\ move 0 $heightValue 0 ;" heightSlider;

but when used it doesnt follow the min and max values and it give it a random xz coords


Now at SMU doing BSc 3D Computer Animation so its hard to get on here
My wire render tut https://forum.simplymaya.com/showthre...threadid=20973
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