Jump to content

Decreasing particles speed gradually.


Swapniel16

Recommended Posts

Hello everyone,

 

Since I'm learning Houdini, I was trying my hands on Particle systems. I was following a tutorial and a doubt came to my mind. My question is,

 

I have emitted particles(in positive Y direction and random X and Z direction) with gravity. When the posY is 0,  the particles keep sliding in posX and posZ, maintaining the posY=0. I want the speed in posX and poxZ to slow down gradually and stop after some time. Its like after an explosion debris should come to rest after some collisions on ground. Can anyone please tell me How can I achieve this effect?

 

P.S. I have not used collision sop, everything is being done in vopsop and voppop.

Link to comment
Share on other sites

Ok, you are using old Pops, so there is no default friction.

 

Look at attached file.

 

First solution maps speed of sliding particles (with P.y == 0) to the age.

Second one multiply speed each time by some value smaller then 1. So in each step it gets 0.9 times slower then in previous step (the lower the number is the quicker they stop).

These two are implemented directly in voppop.

 

Third solution is using drag (and limit it to the sliding group only).

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