PDA

View Full Version : truerand for flame



deadbeats77
27th March 2008, 18:35
hi-
wondering if there is a way to slow down the "truerand" expression, so that it does not change on every frame but maybe every 3 frames or 10 frames. any ideas? thanks!

pixelHussar
22nd July 2008, 17:51
1.) you make an axis with the truerand function, named 'TR'
2.) write the following expression to the channel you would like to drive:

if(mod(frame, 10) == 0, TR.position.x, eval(TR.position.x, frame-mod(frame, 10)))


This means that your channel gives a new true value in every 10th frame and keeps it in the following 9 frame.

Hope this helped.


pH.