- Home /
How to make extinguish?
can someone help me, i'm new in unity and i have some question about fire and water. so, how to make fire extinguish? what best whay to make fire (should i use particle system, or old particles or else), how to make water flow from some pipe (or point nevermind. should i use particles or i should make it by another way) and how to make interaction whith both (water must extinguish a fire)? thanks for help!
Answer by Montraydavis · Oct 29, 2012 at 09:35 AM
Search for "Flame" and "Fire" in the Standard Assets folder. By default, Unity already provides you with several of these. Play around with the settings, and make different types of fire.
Alternatively, check these tutorials out:
Basic Fire- http://www.youtube.com/watch?v=Yt6dJQpFe-s
Fire And Snow- http://www.youtube.com/watch?v=cMAAQWCA9ns
Camp Fire- Really good!- http://www.youtube.com/watch?v=G831RZsVYCI
As for the water, use the waterfall prefab ( which can be found in Standard Assets ), and just change it around a bit to look more like a pump. (Though that should not be too much work as the waterfall looks different only by the arch lOl)
And either Particle system would work. That solely depends on your preference as to which is necessary .
thanks. but how i can realize extinguish? should i use Wodld Particle Collider in fire and calculate collisions between fire and water? and if i will use particle system for both fire and water how can i detect collisions between water and fire patrticles (OnParticleCollision doesn't work if i want to detect collisions between fire and water particles, or maybe i do something wrong. i add my water in "Water" layer, add "World Particle Collider" to fire and water, in fire i choose "Collides With Water layer", check the box "Send Collision $$anonymous$$essage" and add script with function like "void OnParticleCollision(){Debug.Log("collision");}" but when water particles should collide with fire particles nothing happens, collisions with other colliders like cube works great)? thank you!
Your answer
Follow this Question
Related Questions
Is it possible to create fire that you can put out? 2 Answers
WaterProDayTime and fire reflection issue 0 Answers
Create a water drop simulation 1 Answer
blurred out images? 1 Answer
Water of cubes? 2 Answers