Notifications
Clear all

[Closed] Limiting control objects position with script?

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/eye_CTRL.max

Thanks

1 Reply

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