- Home /
Smoke particles permeate the terrain and do not respond to a windzone.
My particle emitter produces nice smoke out of the smoke stack.
2 problems:
- The smoke(billboards) permeate the terrain and reappear behind a hill passing thru the terrain.
- Wind zones have no effect on the smoke
What do I need to set to circumvent these 2 unexpected behaviors of smoke particles or any particles for that matter?
Unity 3.1.... latest update. t.y.
Answer by Atnas1010 · Nov 13, 2010 at 08:02 AM
Particles are not related to the unity physics system. That's why they are not affected by the terrain in your game.
Regarding windzones, I found this quote in the documentation:
Wind Zones are used only by the tree creator for animating leaves and branches.
To solve the wind problem, you are going to have to, depending on the sophistication you need, either use the velocity settings of the particle emitter, or script something more advanced (parsing the array of the particles, and modifying their positions accordingly)
For the terrain.. what you are experiencing seems like a bug I'd expect to see in an actual game kinda... but to circumvent it, I suggest scripting the desired behavior, such as killing the particles when they get too close to the ground, or what you'd like.
Thank you for your advice, as dreaded an answer as I had hoped to not get. I have so much code to produce; this is just another drop to top my bucket. ...waiting for other input before I mark this entry as the answer.
As a note: $$anonymous$$illing the particles prematurely will completely destroy the effect of smoke appearing to pass around objects and continue on its way down wind.
Yes, I just included the most simple way I could think of making it less unrealistic. Hmm, maybe this could also be done with something metaball like. I don't really know how much would be possible that way, just wanted to make you aware of.. that.
have flagged the answer 'accepted' as you deserve the points for providing all the good information. I was hoping for more than one opinion if only a confirmation... but it seems none is in the pipe. Thank you.