playMaker

Author Topic: Blender and unity 4.3f1  (Read 2304 times)

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Blender and unity 4.3f1
« on: January 29, 2014, 06:35:28 PM »
Hi, I am more a modeler than a animator when it comes to working with blender.

And it seems the old way to animate an object in unity has changed beyond my understanding.

So in the end I had no choice but to learn a way that I was happy with so I choose blender.

The object is a lift with the animated doors opening and closing, it took a very long time as I am not used to animating using blender.

Normally I would just export my models to unity as .fbx and everything worked well, but this time I needed animation.

Using this route I found it just to difficult to import the model with the animations.

I did ensure animation was checked.

In the end i created a new folder in my assets "blender" and dragged the entire blend file in.

Using this approach I was able to bring the model and all of the animations.

my idle doors closed.

lift doors open.

lift doors closed.

Although I got a skinned mesh render component I felt this was to much so removed it and replaced with mesh render and mesh filter.

I had to reassign the textures but it seems to be working.

To be honest I am quite out of my depth.

I would like to be able to use the the animator component to drive my animations using the animations lift open and close.

Has anyone any experience using blender in this way and could you help me out?



 

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
Re: Blender and unity 4.3f1
« Reply #1 on: January 29, 2014, 08:12:27 PM »
Heya,

In my experience animations in Blender are created in the "action editor" and only work on bone animations.

So it would be best to create an armature with bones for each door then apply a full weight for each door the bone is associated to.

Here's a basic guide to help you out:
http://answers.unity3d.com/questions/387170/how-can-we-export-blender-animations-to-unity-4-.html

Cheers,

Simon

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: Blender and unity 4.3f1
« Reply #2 on: January 30, 2014, 02:13:00 PM »
@ avrigus thanks for the reply and information.

In the end I simply dropped my blend file into the unity assets.

I have chose to go with legacy and my FSM plays the required animation.

« Last Edit: February 01, 2014, 07:26:48 PM by colpolstudios »