Jump to content

I control the direction of the wind field with the direction of an object


Recommended Posts

Get the Object Centroid. Get the velocity of that point.

Now in the Wind Field DOP, under the direction parameters, read the velocity using a point expression for each of the respective axis. You can multiply that value by -1, if you want the Wind blowing in the opposite direction.

Edited by bloodhawk
Link to comment
Share on other sites

Ok I did it. Tks!

But now I'm trying something a bit different. 

Now I would like to find the velocity of the faces of a rotating object. Then This object will be a volume that will control the amount of wind on a grass field, this part is working, I just need to be able to transfer the velocity vector of the poly faces to the wind direction.

I think I'm almost there.

I've attached a simple scene





Link to comment
Share on other sites

Im attaching my file.


I want to use that object to control the wind force on a field of grass. A part of it it's working. I can affect the hair using the volume of the object and with your help I can get the vel. 


But I don't know how to pass that value, per point, to the Wind Velocity. CHOPS might be the solution, I've watched and read loads of stuff by now but I still can't figure it out.






Link to comment
Share on other sites

9 hours ago, MarioD said:

Cool, so you replaced the DOP net that I had in the file?

More or less yes, you can still use the same setup inside the Guide Sim DOP instead, just add the multi-solver setup with the sop solver.

Although I honestly haven't used the hair tools in Houdini yet, there might be other methods intended to do the same or similar effect :D

  • Like 1
Link to comment
Share on other sites

Yup, something like that. In addition to giving access to all the SOP context nodes, the default nodes (dop import) contains the data of the current sim for you to freely process as you want. In the case of the above example file, I'm simply updating the force. I hope that made sense :D

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.

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