|
Hi, Im very new to maxscript so please forgive my lack of knowledge..
I have an array of selected objects, They already have keyframe data,
I am attempting to add noise on top of the keyframe data..
For example, i am trying to add some jittering to the X,Y,Z position of the objects..
but it cant over-write the keyframe data already on the timeline. it must be extra movement.
I can’t use a noise-controller it has to be maxscript.
heres what i have so far…
---------------------------
starttime = 0
endtime = 200
for j in starttime to endtime do
(
at time j
(
with animate on
(
move $ [(random 0 10), (random 0 10), (random 0 10)]
)
-------------------------
Running this script works, the position of the blocks are moved randomly and doesn’t mess with my keyframe data that is already there..
The problem is that the whole selection of objects move in exactly the same way..
I need the random movement to be applied uniquely to each object.
Basically a random seed so each objects random movement is different from the others.
Hope I made myself clear.
Thankyou in advance for any help, I’ll highly appreciate it.
Kainevan
|