sudija
03-27-2007, 09:27 PM
Guys,
I am making this scene where I need a steady, evenly spread flow of particles to go along the path. So I made a curve flow and that gave me a chaotic bunch of particles flowing on the curve. With my very limited (read - nonexisting ) knowledge of scripting I then went into per particle attributes and opened Goal PP Creation script. I deleted everything from there that looked to me like messing with particle randomnes and ended up with this:
Flow_particleShape.goalPP = 0;
vector $idVector = Flow_particleShape.particleId;
float $randomMotionSpeed = Flow_particleShape.randomMotionSpeed;
vector $rampValues = Flow_particleShape.rampValues;
http://www.mydesignum.com/images/Particles.jpg
That made particles stick to the curve, not perfectly - but good enough.
However, they are not evenly distributed on the path!
I would really appreciate if one of you gurus can help me get this right.
Thanks a bunch!
I am making this scene where I need a steady, evenly spread flow of particles to go along the path. So I made a curve flow and that gave me a chaotic bunch of particles flowing on the curve. With my very limited (read - nonexisting ) knowledge of scripting I then went into per particle attributes and opened Goal PP Creation script. I deleted everything from there that looked to me like messing with particle randomnes and ended up with this:
Flow_particleShape.goalPP = 0;
vector $idVector = Flow_particleShape.particleId;
float $randomMotionSpeed = Flow_particleShape.randomMotionSpeed;
vector $rampValues = Flow_particleShape.rampValues;
http://www.mydesignum.com/images/Particles.jpg
That made particles stick to the curve, not perfectly - but good enough.
However, they are not evenly distributed on the path!
I would really appreciate if one of you gurus can help me get this right.
Thanks a bunch!
