View Single Post
# 2 04-09-2007 , 07:59 PM
t1ck135's Avatar
Registered User
Join Date: May 2004
Location: UK
Posts: 1,991
you need to use it like a standard function - the maya help doesnt help at all in showing that user added image

float $var = pow(2,4);
print $var

>> Gives
16

So your code would be:
Object.Attribute = 1.7 * ( pow(PathLength.input1X, -0.73));

EDIT: Looks like you asked about this elsewhere and got the right answer a few months ago:
https://www.highend2d.com/boards/lofi...p/t239400.html

Si


Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net

Last edited by t1ck135; 04-09-2007 at 08:08 PM.