hi,
sqrt(2.564)
works (for example)
int(2.564)
does not.
why?
thanks,
payton
where in fusion du you try to add this expression (custom tool, expression modifier, quick expression, script, …)?
which version of fusion?
now i took a look into fusion in both 5 and 6 int doesn’t seem to exist in the simple expressions.
i believe this is because there is no such function in LUA. use the “ceil(x)” or “floor(x)”
thanks, that helped me a lot.
i tried to add it to a property by righclicking and choosing “expression”.
dont know how this is called, im totally new to fusion.
weird thing: int(x) is documented at vfxpedia.
thanks,
payton
there a differences in the right click -> expression (= simple expression) and the right click->modify with -> expression (expression modifier)
in the second case int(x) will work, i believe eyeon implementet some more functions for the expression modifier than the pure lua math libary has
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.