Jump to content

Generating and moving particles on each primitive


yavahue

Recommended Posts

I have a 1 object that consists of a ~1000 closed curves/splines (same ammount of primitives),

i want to generate particles on each curve and move those particles along them, but each particle stays on that same curve it has been generated onto.

 

i started with popnet with a force and a pop wrangle @P = minpos(1,@P);

but of course the particles are jumping on the next spline when it comes near it, which i want to avoid. 

Also tried adding the popnet inside a for each prim loop, but not sure how to use metadata from that loop inside a popnet (particles disappear after the 1st frame)

Can any1 please guide me on what logic i should be using?

Link to comment
Share on other sites

14 hours ago, Atom said:

You may want to try using a carve node followed by a blast/delete to keep only point #0. This will allow you to move a point along each line, without dealing with popforces.

point_on_line.gif

ap_rnd_speed_point_along_line.hiplc

Atom, thanks for reply. I tried your setup - it works good.

Although i want a lot of points moving by each spline, not just one, with random speeds and directions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...