View Full Version : Limiting control objects position with script?


Tak Tak
01 January 2005, 01:40 PM
Hi,

I'm trying to create control objects with simple spline objects and wire parametring. I want to limit control object movements to -100 to 100 for example. (to keep controller inside of the cage)How I do that?

Here you can download max7 scene and screen capture image.
http://koti.mbnet.fi/juhatak/image.jpg
http://koti.mbnet.fi/juhatak/eye_CTRL.max


Thanks

marktsang
01 January 2005, 03:01 PM
hi,

look at my morph controls script - to do it all you have to do is make a 2way parameter wire between your object and a custom attribute (slider - spinner) and write an expression to convert the distance of the slder object to be relavant to the CA.


http://www.cgtalk.com/showthread.php?t=198065

you will need max 7 to open the example file but you can use the script with lower versions
if you have any questions please direct them to the thread above

mark

CGTalk Moderation
01 January 2006, 08:00 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.


1