Hello! I've just entered this forum and I?d like to start saying that my english sucks ok? =P
but I?ll try to comunicate as clear as I can.... =)
these last days I was working in a full stretchable RIG using spline IK and the stretch IK script from Tyson Ibele for arms and legs...I?m using 3dsMax 8...
what I intend to do was to make a color chance on torsos controllers when those objects exceed certain distance from each other stretching the character more than it should.
I did that by applying a material on these two objects and adding a script controller at the diffuse color parameter. Max has a helper called ExposeTm that exposes several values such as the distance between two objects. So I used that parameter on the expression of the scripted diffuse color controller.
the expression goes like that:
dependsOn $Box01 $Box02
if $ExposeTransform01.distance>110 then (color 255 0 0) else [0.0313726, 0.431373, 0.52549]
the only problem is that I don?t have dinamic feedback as I move the controller on the viewport. The color chance only happens if I animate it and playback it.
I tried to solve that by putting that dependsOn but didn?t work...
Can any one show me how can I get instantly feedback without having to animate it first to see it next?
I?d like to add that I?m an animator, not a programmer or a scripter...so please go ease on me hehehehe..
and again...forgive me for my bad english...