PDA

View Full Version : Simple Attr Command...


JellyFire
12-03-2005, 10:07 AM
Hi, I can't work this out, too much of a noob :)
I want to restrict rotate y to max/min of 90/-90

tried: setAttr -maxValue

Didn't work.
Any ideas?
It's for a control object for my rig, rotateY is the
only channel it has (which is renamed Twist) well
aliased anyway.

Later
JellyFire

Segmoria
12-03-2005, 01:22 PM
transformLimits -ry 90 -90 -ery 1 1 pCylinder1;

Works for me.

JellyFire
12-04-2005, 11:13 PM
Thank you very much!!
That worked perfectly..

Later
JellyFire

CGTalk Moderation
12-04-2005, 11:13 PM
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.