Mark01 Posted January 13, 2021 Share Posted January 13, 2021 Hey everyone, I have an animated object moving in a sin wave type motion. I am trying to emit smoke outwards from it. At the moment the smoke is just rising in Y which isn't what I want. Any suggestions? + i made an awful unnecessary diagram, it might help or it might be confuse matters Quote Link to comment Share on other sites More sharing options...
dleonhardt Posted January 13, 2021 Share Posted January 13, 2021 curve_smoke_outwards_dl.hipnc 2 Quote Link to comment Share on other sites More sharing options...
Mark01 Posted January 29, 2021 Author Share Posted January 29, 2021 Thanks so much for that that hip file is really helpfu! So that was working but rather than emitting from a line, I am emitting from particles. So I would need the the particles velocity to also point outwards. Plugging a scatter into the line and then feeding that straight into the pointwrangle2, I can't seem to get your setup working? Quote Link to comment Share on other sites More sharing options...
ryew Posted January 29, 2021 Share Posted January 29, 2021 Why not do the scatter after pointwrangle2 and let the points pick up the newly-calculated velocity direction? Quote Link to comment Share on other sites More sharing options...
dleonhardt Posted January 30, 2021 Share Posted January 30, 2021 (edited) 21 hours ago, Mark01 said: Plugging a scatter into the line and then feeding that straight into the pointwrangle2, I can't seem to get your setup working? My method for calculating if there is a left- or right-hand turn requires a curve, because I am comparing the position and normal direction from the previous and next points. If you want to use particles you need to scatter them after the calculations on the curve like @ryew said. EDIT: Added a couple of lines to the curve calculation so curves with very sharp turns get correct bending ratios. curve_smoke_outwards_dl_v2.hipnc Edited January 30, 2021 by dleonhardt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.