- Home /
How to simulate a volcano
How would you simulate a volcano? The explosion part is simple - just place a fake top on the mountain, and apply a force to it. Then some sort of fiery spheres with smoking particle effects would look good. But what about the magma flow? Like some form of fiery river? How would you do that? And if anyone can think of a good way of things being set on fire afterwards, then bonus points for you.
Would anyone have a basic idea of how to create a pryoclastic flow down a volcano mesh?
Answer by Chris D · Jun 03, 2011 at 05:40 PM
Well, break it down into the individual effects you want. Off the top of my head:
Blow the top (model the mesh to fracture/explode)
random flaming balls of debris (instantiate and add random forces to simple meshes w/particles)
lots of smoke (particle effects)
a river of lava (harder, because you'll have to come up with a way of simulating a fluid and unity doesn't have its own)
random things catching fire (just model the items regular and then swap that out for the on-fire flavour when your pseudo lava collides with them)
There isn't an easy answer (no matter how cool it would be to have a Make Volcano button...) and it's likely to take a lot of work, but if you take it piece by piece, it won't be so bad.
Also, probably worth your time to check out the asset store; maybe someone's already done it for you :D
So the one thing I didn't know how to do (number 4) you say you'll have to come up with a way. Thanks! That was a bit harsh, but that was what I really wanted to know. Anyway, got a nice idea. You got any suggestions?
Well, for the lava, it might be that you can do some sort of procedural "march" with its lead verticies down the mountain. Alternatively, you could try to model some key points of lava flow (like 1/4 way down, 1/2 way down, etc...) and try to animate between the two, but that seems like it could get tricky.
Whatever you end up going with, good luck! You should come back and update this question when you get it all done :D
There is a 'river builder' in the Asset Store and it's free. Just use fla$$anonymous$$' red textures ins$$anonymous$$d of wet blue ones. Also for setting things on fire, you could have colliders on visible (and invisible) objects that are flung out in item 2, and have that trigger the flame effect (and/or mesh swap). BTW: $$anonymous$$ake this nice and usable, and sell it on the Asset Store why not.
Answer by DarkEndSpirit · Jan 05, 2012 at 10:08 PM
if you want a more realistic volcano eruption (assumine the volcano is a composite volcano as these are the iconic form of them) then i wouldnt suggest lava flow as these erupt lava in the form as pyroclastic flows (ash clouds) and falling volcanic rock, if it is a shield volcano then there are two commen types of lava pahoehoe and aa, pahoehoe is is like the flowing goo lava most ppl recognize aa is more like hardened ash and rock but is really fragile semihardened lava, if it is a fizure eruption it will shoot out lava in a line, yes there is the third type of volcano but as these are formed at eruption i assumed this isnt the type you are going for
Answer by one-ness · Feb 24, 2013 at 05:05 AM
I just made an awesome yet simple volcanic eruption by editing the waterfall prefab, and switching out the water material with one of the fire materials... A little tweaking and wallah! You have yourself an erupting volcano, pouring hot lava down the mountain side! Simple but effective :) http://www.freeimagehosting.net/h4q5r
Answer by jj7 · Mar 27, 2013 at 03:59 AM
Could you do this? With the lava flow could you put shape the lava flow, then put water in it and change the texture to a lava look.Then put in a stream script.
Answer by cloudy cow · May 25, 2014 at 01:40 PM
Look up Flow Free on the asset store. I have used it to make a volcano before.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to fracture/destroy in unity. 1 Answer
Projectile Firing From Floor, I Need Some Help 1 Answer
3D character simulator 0 Answers
Simple Fracture ( Destruction ) 1 Answer