ashishdantu
11-23-2005, 06:49 AM
heellooo ppl,
1) was working on a system, where i have control curves, which i want to use to drive the morphers on a head. now i can wire them directly. but my problem is, i want the curve to be moving in a restricted space of 25 and -25 in X and Y and yet still make it drive the morpher values from -150 to 150 (i set this on the global params of the morpher) .. how can i do this ?
2) is it possible to (autokey) animate the control curves in (25 to -25, in X, Y space ) and yet have the corresponding keys put on the morpher also , automatically ? this i want b'se even if the control curves are deleted, the morpher carries the keys (b'se they were keyed automatically) thereby reducing loss due to human errors..
3) one more thing..say i have a custom attribute on the control curves, how do i write expressions ( and where do it write it ? ) which will do something > say like if the CA's value is more than 40 , i want another object's CA's value to be 20 ?? i mean how and where can i write independant and interactive (realtime) expressions to do various things > (adjust custom attribute values or set keys or toggle things visibility etc) , apart from only manipulating translate or rotate or scale values ? all i know is u can write float scripts which actually r meant to be used to manipulate only T , R or S values.... or am i missing something ?
this thing has been bothering me since many adays.. i've not been able to get to write these independant expressions!! i hope any answers to my questions wud benefit all max users.. n yes, i'm new to max script..
rgds,
1) was working on a system, where i have control curves, which i want to use to drive the morphers on a head. now i can wire them directly. but my problem is, i want the curve to be moving in a restricted space of 25 and -25 in X and Y and yet still make it drive the morpher values from -150 to 150 (i set this on the global params of the morpher) .. how can i do this ?
2) is it possible to (autokey) animate the control curves in (25 to -25, in X, Y space ) and yet have the corresponding keys put on the morpher also , automatically ? this i want b'se even if the control curves are deleted, the morpher carries the keys (b'se they were keyed automatically) thereby reducing loss due to human errors..
3) one more thing..say i have a custom attribute on the control curves, how do i write expressions ( and where do it write it ? ) which will do something > say like if the CA's value is more than 40 , i want another object's CA's value to be 20 ?? i mean how and where can i write independant and interactive (realtime) expressions to do various things > (adjust custom attribute values or set keys or toggle things visibility etc) , apart from only manipulating translate or rotate or scale values ? all i know is u can write float scripts which actually r meant to be used to manipulate only T , R or S values.... or am i missing something ?
this thing has been bothering me since many adays.. i've not been able to get to write these independant expressions!! i hope any answers to my questions wud benefit all max users.. n yes, i'm new to max script..
rgds,
