Jump to content

Detecting a change in a custom attribute


Adam Ferestad

Recommended Posts

I am working on a project that uses Vector attributes on a plane to set the velocity attribute of a series of particles. How this is set up now the particles start on a primitave that has an initial vector on it, so they start moving. They travel over a region of primatives with no vector set, which I have the system ignore. Eventually they cross another prim with the vector set and they take the new vector immediately.

What I am looking for is a way to detect when they cross over this region and instead of immediately taking the vector, I want to have the change be more gradual over time. Is there any way to do this? I know how to do it for an entire span, but only for specific frames. How do i make it only happen when it detects a change in the velocity vectors.

Link to comment
Share on other sites

here is what I am working with right now. I have a very specific direction I need to go with the project, so i may need several suggestions for solutions. The first file was an experimental system I developed that served as a root to this project. this is all for an undergraduate research project.

wandering particles.hipnc

city streets basic.hipnc

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