I simulated pouring water with blender and I want use it
as animation in unity .
what should I do?
this is not possible to do, at least not in the way your thinking, a fluid simulation for render use cannot just be exported and work in a game engine, unity wouldn't support such a thing, nothing does, also this isn't really on topic for here
Related
Animation-Imgur
The animation looks great inside of Maya, but not in Unity.
I've fixed all of the exporting errors already.
There isn't enough information within your question to provide an absolute answer. It could be down to one of many problems...
Are you using expressions?
Are you using IK chains?
Are you animating rotate or scale pivots?
Have you tried baking the animation data first?
Are you sure the exporter works?
Is the character rig known to work within the game? (or is this your own?)
Typically exporters for games will bake the Maya joint model down to simple TRS animations. Sadly there are some combinations of scale/rotate pivots that are simply impossible to convert into TRS, and still maintain correct animation interpolation. Assuming the exporter works correctly, I'm going to guess that may be the cause?
I've started learning gaming development using Unity and there's a thing I wasn't able to fully understand. I stumbled across the Sketch Fab website and noticed this cool market with 3D models and I was wondering what are the requirements to import such a model into an actual game.
For example this one already has animations:
https://sketchfab.com/3d-models/royal-knight-895d1c1d222d4efd9f264318e8ab0cb2
But on the other hand others don't have:
https://sketchfab.com/3d-models/crusader-knight-b079a8e34f454836bc8107c21c8c47fe
I have basically 2 questions:
If I buy the first model is this going to save me a lot of time and I can jump straight into implementing the character into an actual game and add custom scripts to it etc?
If I buy the second one, what would I need to too to actually animate this character? Is this something that somehow I can learn from Unity tutorials or would I need to import it to a tool like Blender to further improve this model with animations?
This question provokes a lot of answers. The first model you show does have a .fbx format and the animations will hopefully work fine. This format is typically what you want to use with Unity.
The second model is not Rigged (look at the product description). What this means is you will have to rig every bone yourself (in Blender) and make it compatible with Unity. I never buy a model that isn't rigged.
To add animations to the second character, you can download some from www.mixamo.com or use many of the animations you will find in the Unity Asset Store.
Personally, I prefer getting my models from www.turbosquid.com. You can search against multiple formats including .unitypackage
As Jiveturkey said, the first model is directly compatible with unity and doesn't require any additional steps - so if you're looking to focus solely on building the game without worrying about animation then you might want to go with the first model.
The second model isn't rigged, so you would have to manage all rigging and animating yourself - Unity does have a built-in rigging package, so you would be able to do that within unity rather than using Blender (Link to tutorial for rigging in Unity, Rigging tutorial directly from unity)
Unity can read .fbx, .dae (Collada), .3ds, .dxf, .obj, and .skp files for 3D models, and that's pretty much the only requirement. There are tons of sites with free 3D assets if you don't want to spend the money as well Itch.io, Unity Asset Store, and tons more - these are just the ones that come to mind
Trying to make a game in Unity and I need a fairly complex house, i'm fairly experienced with Blender, and familiar with Unity, but mesh colliders don't work, convex or not, and making a bunch of differently-shaped colliders seems like a complex way to complete a simple task :/ .
I managed to make a video tutorial in regards of this.
Check this out Blender to Unity if you have the spare time.
Cheers!
The only way that I found to import the cloth animation from Blender to Unity for mobile is by exporting each frame as a separate mesh and then replacing it at runtime to create the animation. (if anyone knows other solution please tell me).
The problems is that the "meshToChange = otherMesh" way has a big hit on performance on mobile. I'm curious to see if there is a better way to change the mesh at runtime.
Thank you :)
There are a few ways to do this
1.The best way would be this:
Get the keyframes for the baked simulation with a .mdd addon for blender.
Import the Blender project in Unity.
Add the prefab in a scene.
Select you object and go to the Skinned Mesh Renderer component and expand the BlendShapes. There you will find all your data.
After that you will need a script to cycle through the BlendShapes. Here is a simple script that will do the job.
For better information check out this video.
Thanks to #derHugo for helping me with this one.
I am not going to focus on the next ones but I will put some references here for anyone interested.
2.Using Alembic files.
If I am correct this is the way the Unity team did it for the short film ADAM.
Check out this video.
To note that this will not work for mobile.
3.Cycling and changing the mesh every frame.
This technique is very similar to a 2D animation.
All you have to do is export a sequence of fbx's for the animation and then cycle through them. script
Be aware that you will get a huge performance hit from this.
With a cloth simulation with around 7k tris changing the mesh every few frames I was getting around 30fps with nothing else in the scene on an IPhone 6.
What is best software for creating models , textures etc... for iphone development.
From simplest to more complex programs.
First thing that comes to my mind is blender , but I'm curious what everybody else is using and their opinions.
Blender is a very good issue for your needs.
It's a very complete solution. Just take your time to learn it step by step. You'll get some great tutorials on the website.
Agreed! I found a tutorial about 3D programming mentioning Blender as a free tool. It was SO daunting to use at first, and I still haven't even figured out most of what it can do. However, I can now build and export the needed geometries for my applications.
Tips:
Use a 3 button mouse (RMB:Selects a vertice, edge or face; MMB Rotates the view camera)
'A' selects or deselects all
'X' deletes anything selected (prompts you first)
'B' Bounding Box Selection Mode
'E' Extrude selected things
For creating textures, I use Adobe's Illustrator, Photoshop and Fireworks, and then import the image into Blender. There is also a texture paint mode in Blender as well.
I tried Cheetah 3d , it looks decent and it exports directly to header files.
I will definitely try blender , but it seems overwhelming and i am not sure do i need to loose to much time on getting to know how to work in blender.
On other hand i was trying out cheetah 3d and i figured out most of the staff in couple of hours.