Data Operator speed output too jittery


#1

Hi,

I’m trying to make some boxes spawned in PFlow move in random positive or negative directions on the Y axis. I would like their movement to be like a sine wave - up for a while, then gradually back down.

I’ve achieved something to this effect by using the random operator output to Y axis speed. The results however, are way too jittery as their values are updated every frame. I’ve achieved the same result with a few other methods, but the end result is too much jitter on account of the integration step size. I can’t make it larger than one frame. I could animate the operator on, then off, but I lose any gradual speed change.

Does anybody have any ideas?

Thanks


#2

I won’t rewrite something awesome that has already been said :slight_smile: Use a Function->Sine sub-operator. Here is a great tut from Kyhe Kading:

http://www.khye.com/?p=439