x


Transferring Blender animation to Unity.

I've read around and cannot seem to find what is exactly stumping me. Here is my problem:

I created a simple cube in Blender that moves front, back, left and right when hitting the appropriate arrow keys. I also took the camera and set it up so it appeared as first person.

My problem arises when I try to export/import/save (I've tried so many methods) into Unity into the asset folder of my project. The cube shows up and if it is a .fbx when I drag it to the screen it just drop away when I hit play. If it is a .3ds or any other format it seems to just sit stationary when I hit play.

My question is: What type of setting do I need to do on an import/export or save to make it so the animation follows?

I'm very much a newbie so I'm hoping this is an easy fix. Either a step by step explanation or a site/video you know of would be amazing.

Thanks in advance. :D

more ▼

asked Apr 15 '12 at 08:25 PM

BluEye gravatar image

BluEye
11 3 6 10

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

The tutorial at this web site:

http://cgcookie.com/unity/2011/08/10/creating-an-animated-door-for-unity-3d-part-01-2/

Is all about creating a simple animation in Blender and then importing it into Unity and then getting it running. I'd suggest studying this tutorial and then, if needed, come back with additional specialized questions if there are further issues.

more ▼

answered Apr 15 '12 at 09:21 PM

kolban gravatar image

kolban
1.8k 2 7

(comments are locked)
10|3000 characters needed characters left

What version of Blender are you using? I use 2.60 and played with different export formats as well. FBX suited me the most.


In the Unity import settings I chose the start- and stop frames and declared names for the actions. (See attachment)

After that I put it into a prefab and started the animation in a script via the GameObject.animation.Play("Lower") function. You also have to look if you checked "Play on awake" and the default animation to avoid unwanted moving/disappearing of the object.

Unbenannt.png (12.4 kB)
more ▼

answered Apr 15 '12 at 11:01 PM

oneWaveStudios gravatar image

oneWaveStudios
0 1 2 2

@Irishsun530: Please use comments if you're not going to answer your own question! I've converted your answer. I guess it was directed to oneWaveStudios.

Apr 18 '12 at 10:16 PM Bunny83
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3929
x3890
x750

asked: Apr 15 '12 at 08:25 PM

Seen: 845 times

Last Updated: Apr 18 '12 at 10:16 PM