Jump to content

group by velocity in vex H16


Recommended Posts

You're using the Y velocity, maybe some of those points are moving upwards as they move around?

What about using P.y instead of v? Then blast what you don't need.

I tried both v and P along with particle 'age' as another test, and my group worked fine.

Link to comment
Share on other sites

yeah but if I use P, when the surface wave moves up and down, some points will get cut off at a certain frame, which I don't want, thats why I was thinking velocity would be the answer..

Edited by craigls
Link to comment
Share on other sites

tried that, but starts to cut off top of the surface of wave, tricky coz the wave is moving slowly up and down, so has some velocity, but the center moves up faster, hence my thought was to catch it with a velocity threshold, would be fantastic if i could do it with a velocity threshold within a cylindrical bounds volume.

Link to comment
Share on other sites

I think you should use the magnitude of v rather than it's y component. Then it should just be a matter of tweaking the comparison number to get it right. 

I use point wrangles for most of these kinds if tasks. You would write this in one:

if(length(@v) > 0.05) {

    i@group_fastparticles = 1;

}

Edited by rich_lord
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...