GallenWolf
03-23-2006, 01:40 PM
Hi all!
I am developing an interface for the Link Constraint. What I want is to have a dropdown list with a fixed list of objects (e.g. Head, Shoulder L, Shoulder R, World Space, Foot_L et al.) so the animator can just choose where to have a link. I have suceed (sort of), but I in order to update my dropdown list, I am using a timeCallBack function. I have issues with this as
a) It seems to slow down the system a tiny bit.
b) timecallbacks do not seem to be saved with the max file?
Is there other stuff I should look into? I'm still very new to maxscript...
I've attached my test in the zip. The max file has a sample IK chain, with a circle. The circle contains some buttons to allow you to pick new links. The two point helpers are just to help me test stuff. If you want to see the dropdownlist update automatically, run the script to enable the callback function. Once enabled, the drop down list also allows the animator to immediately change the link at the current time by either choosing something from the dropdownlist or the scene.
My apologies - my coding is a little messy... this is a proof of concept test :)
Thanks!
Alvin
I am developing an interface for the Link Constraint. What I want is to have a dropdown list with a fixed list of objects (e.g. Head, Shoulder L, Shoulder R, World Space, Foot_L et al.) so the animator can just choose where to have a link. I have suceed (sort of), but I in order to update my dropdown list, I am using a timeCallBack function. I have issues with this as
a) It seems to slow down the system a tiny bit.
b) timecallbacks do not seem to be saved with the max file?
Is there other stuff I should look into? I'm still very new to maxscript...
I've attached my test in the zip. The max file has a sample IK chain, with a circle. The circle contains some buttons to allow you to pick new links. The two point helpers are just to help me test stuff. If you want to see the dropdownlist update automatically, run the script to enable the callback function. Once enabled, the drop down list also allows the animator to immediately change the link at the current time by either choosing something from the dropdownlist or the scene.
My apologies - my coding is a little messy... this is a proof of concept test :)
Thanks!
Alvin
