31-10-2008, 09:28 PM | #1 |
Registered Member
Join Date: Jan 2005
Location: Somewhere... in 3D space
Posts: 153
|
Random Motion on X & Y axis
I have this point that needs to move on a grid by a random amount of spaces, in a random direction.
What I would like is to use some expressions so I wouldn't have to animate it myself, thus respecting the original algorithm idea, which is the randomness of the motions. The problem that arises is the random() function generates a random number every frame, not only when it's called. Is there a way to work around this function or make it generate a random value only once every k frames or keep the generated random value for those k frames? I've been at this for two days now and probably I'm missing the obvious, so any suggestions are greatly appreciated. Thank you! Here are two images to get an idea of about the motion and the problem.
__________________
" ...'till the world burned!" Last edited by NoStr0m0; 31-10-2008 at 09:30 PM. |
01-11-2008, 10:24 PM | #2 |
Registered Member
Join Date: Jan 2005
Location: Somewhere... in 3D space
Posts: 153
|
Or at least another way to write that expression to only get Frame K, without the fractional parts. (meaning frame 1, without the 1,1;1,2...1,9)
__________________
" ...'till the world burned!" |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Animation: Random Souls | Kojocci | W.I.P | 1 | 19-09-2006 01:33 AM |
rotating back to correct axis | juney | Modeling | 3 | 16-09-2005 08:27 AM |
Motion for tree | Redhawi | Animation | 0 | 23-01-2005 07:10 AM |
Offsetting axis of model | keef | Animation | 4 | 28-04-2004 10:48 AM |
Axis Prob | Fade | LightWave Basics | 3 | 07-01-2004 11:28 PM |
|