Jump to content

specific points along specific curves


christianl013

Recommended Posts

Hello,

I have a bit of a noob question here but I have not been able to find the answer otherwise.

How could I take a particle in a pop network work, plug in a network of curves into the
pop net and have particles only follow velocites of the curve with the corresponding
id attribute?

I have a name attribute for each curve and I have the particle with a matching
name attribute but I have not been able to get the particle to follow the curve
with the matching ID. I thought that I could do it with a pc lookup but it seems
to follow all of the curves in the lookup and not the curve with the matching
ID.

Is there a way to achieve this? any guidance on this would be much appreciated.

Thank you.

Best, Christian

Link to comment
Share on other sites

Hi,

I would use xyzdist to sample the curves:

https://www.sidefx.com/docs/houdini/vex/functions/xyzdist.html

You can use the overload that accepts a prim group where it be an ad-hoc group like so:

"@name=curve05", which would limit the look up to that curve where the name attribute is curve05. You would use this syntax to form the right curve for each point.

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