- Home /
How do you import Blender water into unity 3D
I have tried but it doesn't work it's just frozen there's no animation. Please help! thank you
The model imports correctly right. You just arent seeing animations? http://www.youtube.com/watch?v=p25SFf6$$anonymous$$f0g>Here is a vid i found regarding animations, this person used blender as well.
Yes, but there's no animation. The water doesn't have keyframes thats the problem, unity seems to only recognize keyframes for animation
Been awhile since I messed with Blender, but if I remember right the water in it is a physics liquid simulation in the program. Not sure if it's even possible to bring that into Unity along with the rest of it.
@Crimsonkomodo777 If it is a native-to-blender type simulation, dont expect it to show up in Unity. I wasnt quite sure what you were talking about, but it sounds like a blender-native thing. While it would be nice to have those cool effects, understand that the Unity3d coders would have to write a translation between blender and the game engine(not easy). Anyhow..try out some other things, my suggestion for water(done simply) is to do UV animation on one or multiple water textures..or mess around with the SimpleWater. Its not the end all be all by far, but at least its something(if you dont want to write and animate your own water system). Water or any liquid for that matter is not simple, so do some experimenting and look around the web for alternate solutions.
Answer by David C · May 24, 2012 at 06:17 AM
Water is not a skeletal animation, thats why you cant import it. In Blender you can keyframe the animation but that still wont work because it is a mesh modification.
The easiest solution would be to convert the animation in a shapekey and then use MegaFiers or some other mesh morphing system to import the shapekey into Unity.
There is a couple of reasons why you should NOT do this though. Mainly nice water will need a huge amount of verticies which will slow down you game massively, so will a complex mesh modification system. I suggest using Unity water and make a moving water texture (and normals if you want) to fake the look of flowing active water.
David
EDIT: Just a another little suggestion, make the water in Blender and then give it a material and bake the normals and textures onto a flat (Project from view) UV texture that you can use in Unity. This is the best you will get at the moment.
Answer by potatoesinside · Aug 14, 2016 at 01:19 AM
Or you can export a mesh for each frame (or each 2 frame, etc.), then animate in unity by enabling/disabling one mesh after the other with a script. With enought frame rate (enought meshes) the effect is pretty smooth, especially if it's a short and/or fast animation like a blood splash. About the performances, I don't know because I only tested it with a short and low quality animation for now.
Also, you have the asset Mega Cache that is much cheaper than mega fiers and would do a good job.
Answer by missmurderith · Dec 05, 2019 at 03:54 AM
I was in the same spot, if you were using blender's fabulous water simulator. I was able to accomplish export with this method:
Note: They only started supporting alembic files in both unity and blender in the recent months. Blender needs to be 2.81 and unity needs to be 2019.3.0a6 or higher and also have the alembic package installed in unity. Mine didn't work until I restarted my computer also.
Second note: Even after accomplishing this, the amount of data the water animation took once it was in the game was humongous. I'm going back to the drawing board for a water fountain. Good luck! ,They've just recently added alembic support to blender (2.81) and unity (not sure what update, but it was fall 2019) you have to have the alembic package installed in unity, this tutorial explains it well:
Your answer
Follow this Question
Related Questions
Unity wont recognize High Definition Models from blender 0 Answers
A node in a childnode? 1 Answer
Importing Blender Water to Unity 0 Answers
blender crashing test play 1 Answer
Texturing blender models in Unity 2 Answers