[Closed] Rigging/constraint question for Max
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://67.15.36.49/team/Tutorials/james_direen/direen.asp ]( http://67.15.36.49/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
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:
http://forums.cgsociety.org/showthread.php?t=142986&highlight=jason+osipa
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.
Hey,
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[font=‘Courier New’] ([size=2][font=‘Courier New’][size=2][font=‘Courier New’]upper and lower limit properties) in max. These are properties of the IK Handler[/font][/size][/font][/size][/font]
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.