madmac3d
08-12-2003, 11:06 AM
Sorry, but I'm a bit of a scripting noob....
I want to know what would be the best way to link the colour of an object to its z-position....
I have tried to wire the parameter, but I need to convert the z-position from a 'float' to an integer (I think).... and I don't know how....
The alternative is to write a script that reads the z-position frame by frame, and then assigns a colour key frame by frame for the material...
Any Ideas / suggestions appreciated!
Thanks....
I want to know what would be the best way to link the colour of an object to its z-position....
I have tried to wire the parameter, but I need to convert the z-position from a 'float' to an integer (I think).... and I don't know how....
The alternative is to write a script that reads the z-position frame by frame, and then assigns a colour key frame by frame for the material...
Any Ideas / suggestions appreciated!
Thanks....
