Jump to content

Particles Attract to geometry


CinnamonMetal

Recommended Posts

How can I get particles to attract to geometry. Not a direct attract, the particles birth and do what they do but as they get close to the geometric object they begin to attract to the object ? At the moment I'm only getting the distance how far they are from the geometric object.

Link to comment
Share on other sites

You could use the pop proximity that will give you an attribute

@nearestdist

where then you could use popstream and do something like 

ingroup = @nearestdist >.1;

then in that pop stream you can do anything that you want for example you can add a pop attract to get the particles attach to your geo. 
There is a few Master Classes around 

 

Edited by Sepu
  • Like 1
Link to comment
Share on other sites

I re-watched these tutorials; although a few questions remain, these are good tutorials to reach towards an intermediate level in POPs.

Although after connecting a pop proximity the help card mentions a `@nearestdist` attribute; I assume that the geometry spreadsheet doesn't list this attribute although it still exists once this node is placed within a POPNet ?

The pop attract I set the Attraction type; surface points directly it to the SOP path of the sop object.  Without jumping too ahead of myself, I assume why my particles are not moving has to do with the pop stream & pop proximity which are before the pop attract within the pop net, network ?

 

Edited by CinnamonMetal
Link to comment
Share on other sites

I don't know how your network looks like so I coundnt tell you, if you post your .hip I could help. the attribute that the poproximity creates you should be able to see it outside DOP network unless you delete it.
 

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...