get highest value in position x ?
hi guys
is there a way to get the highest value of position x lets say
from an object that has animation already on x ?
basically im importing a tracked node into max , and it has some crazy position animation baked in .
i need to get the highest value
of x in the entire animation ( or from frame 1 to 100 lets say )
to use in the reaction manger , so i need the value of x .
is there any easy way of getting it with script ? instead of eyeballing it?
thanks
Comments
or...
collect keys values and get the highest one with amax function:
amax (for k in $[3][1][1].keys collect k.value)
my recent MAXScripts RSS (archive here)
ok
this is interesting ... "amax" ... never seen it .
ill check it out , thanks allot
You could look at the x
You could look at the x position at each frame, store it to an array and sort it afterwards. Something like this:
Cheers
Never get low & slow & out of ideas
thanks
sweet , thanks allot .