0
$\begingroup$

Problem:

I am trying to create a character in Blender and import it to unity. The character is like a blob, who has no bones for animation. I create any Entry animation like this using Physics in blender: Bounce of blog

The blob is made of softbody. Now I want to convert the physics to an animation (Action) in Blender so that I can export this blob to unity with animation.

Things tried so far:

  1. I exported the physics as an MDD file and then tried importing it again. Keyframes got created, I can see it in the Dope Sheet, but the action editor has nothing in it.
  2. Also tried Object -> Animation -> Bake Action. It created Action, But there is no animation at all when I import in unity.

Download my blend file

I am new two both unity as well as Blender, Please help me on this.

Thanks in advance.

EDIT:

I exported .MDD file and used it on a different object using Mesh Cache Modifier. Now animation is playing and it's not based on softbody. I don't know how to convert the motion to keyframe.

$\endgroup$
0
$\begingroup$

Here are the steps you need to follow:

  1. Let's say you created a simulation of physics on softbody
  2. Select your object and export the file as MDD (This will export the keyframe as data to .MDD file)
  3. Keep the object selected, Import the .MDD file you've exported.
  4. Now if you see the Dope sheet there should be some keyframes on it. But you cannot see anything on Action Editor.
  5. Remove the softbody modifier on your Object. (Hit Space, you should be able to see your simulation without the modifier)
  6. Here is the key part, Now you have to convert the body to Rigid body to bake the keyframe to Animation(Action). Apply the rigid body modifier to the Object.
  7. Make the Rigid body type as Active and animated (Checkbox). (Now Hit space, you should be able to see the simulation without the object falling down, Even though you applied Rigid Body modifier)
  8. Now, go to Object -> Bake to Keyframe, I will take some time according to your mesh and simulation. But after finishing you should be able to see the keyframes on Action Editor.
  9. As the last step simply import the .blend file to unity.
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.