View Full Version : Rigging/constraint question for Max
09-22-2006, 08:34 PM
http://www.cggallery.com/temp/wajdy%20farhan%20scripting%20reel.mov (look about half way through).
I've seen these types of character controlers on many rigging reels so I thought I'd try a very simple test for myself. Basically I've got a rectangular spline which would be the slider path, and a square that'd be the slider. What I'm trying to figure out is how to constrain the sliders xyz to the slider paths dimensions. So, if you move the slider upward, it won't go past the slider paths bounding top, and visa versa for the bottom.
I've been trying to find something for a couple days, and the closest thing I found was this tut http://18.104.22.168/team/Tutorials/james_direen/direen.asp, but of course he doesn't explain how to make the actual interface. So, any help anyone can give on this topic would be greatly appreciated, thanks.
you can set a "limit controller" in the trackview to limit a objects position/rotation/scale
09-23-2006, 07:38 PM
I recieved a similar reply in another forum, I'm guessing that option is only for Max 8, I couldn't find it when I looked, I'm using Max 7.
Anyone else have any ideas?
you can write a script controller, that does this for you - if i remeber something that takes the imput of the width and height of the rectangle and forces it not to go further. Make sure you not getting dependency issues.
ah here we are:
09-24-2006, 09:58 AM
ahh excellent, I downloaded a couple of those files, I'll see if I can pull out some of the ideas and adapt them to what I want.
09-25-2006, 04:38 AM
There was a script online (cannot find it now) which used an IK to set min and max limits using the .posXActive and .PosXULimited and .PosXLLimited (upper and lower limit properties) in max. These are properties of the IK Handler
What you had to do create a square and a circle in the center of it. IK the square to the circle. Set the max and min limits of the circle position via the IK.
I could not get the script but will try. Hope this helps.
09-25-2006, 04:38 AM
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.