PDA

View Full Version : PointOnCurve or Particle Flow


spiderman3
02-16-2008, 04:50 AM
Hi
i am trying to create a particle flow of my own using point on curve, i limited from using curveflow or goals for this. So i am using pointOnCurve command to make particles travel along a curve. right now i am getting a very thin line. Is it possible to get some thickness or volume for the particles.

This is the expression i am using in the runtime of the particle position.

vector $crvData[] = `pointOnCurve -pr(age) -p curve1`;
vector $pos = <<$crvData[0],$crvData[1],$crvData[2]>>;
particleShape1.position = $pos;

BadG3r
02-16-2008, 03:59 PM
whats easier is to make the curve a goal adding the goal U (i think it was U) to the particle attrs. then applying a ramp to the goal U so the particles move through their lifespan along the curve. dont forget to set the lifespan to anything but live forever.

now just apply another attr. goaloffset

there you just create a creation expr. with sphrand <float> or <vector>.

thats it. you're welcome. :)

CGTalk Moderation
02-16-2008, 03:59 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.