Hey, I hope I'm posting this in the correct section.
I've got a little problem that I want to solve using an expression. Without going into details about what I've done, I basicly have to write an expression using 'the power of' operator.
I read through the documentation in the maya help files, and i can run the example it gives 'pow 2 4' which = 16, but when i try to assign that to an attribute using the expression editor, it just gives me a syntax error. What im trying to do is:
Object.Attribute = (1.7 * ( pow PathLength.input1X -.73));
PathLength.input1X is a float
I cant see any syntax errors in that, but even having the line
Object.Attribute = pow 2 4; gives me a syntax error, which is copied straight from the documentation.
Is the syntax used in the expression editor different to that used in the script editor? and if so, how do I put a number to the power of another number? (i tried using the ^ and no dice)
Any help on this would be appreciated,
Thanks, Joel