
A Keyframe use it to give a fixed pose for that time instant, so that Blender will move the bones by interpolation between 2 different keyframes. When pressing the I key you should select Rotation in the dropdown Insert Keyframe menu, because we will only rotate bones. This is achieved by inserting a Keyframe by pressing the I key while in the 3D View panel in Pose Mode with all the bones selected. Now it is needed to store the current pose of our model, from where we can start our animation, by record the relevant data of the status ( locations, rotations, scaling ) of our selected bones. Once in Pose Mode press the A key on your keyboard to select ( and deselect if you press A twice ) all the model’s bones. Change from Object Mode to Pose Mode ( where we will animate our character ) by clicking the Mode selector as you can see in the following picture ( It’s the one with a little yellowish cube in the 3D View panel menu bar ). Go into the 3D View panel and press your numpad 1 key, you will get the model’s frontal view. Now we are ready to create a simple animation to import from Blender to Unity and use in our scripts.

Open the 3d model with blender Change Blender panels to "Animation" We need to add some panels with right mouse click Dopesheet, F-Curve Editor, Timeline panels You should see the 3D View panel and the F-Curve Editor, to get the other two just click the Editor Type button located at the bottom left of every panel, it allows to change the panel’s content, and change one with the Dopesheet and the last with Timeline panel. Now you should see 4 panels in total, the final needed blender configuration needs the 3D View panel, Dopesheet, F-Curve Editor and Timeline. Now you can drag the new panel boundary line where you want and displace it with a left mouse click. We need to add an addition panel to this Blender screen layout, to achieve this it is needed to hover with the mouse onto a panel boundary line, click with the right mouse button and select Split Area into the Area Options dropdown menu that appears.

We need to tweak the Blender UI panels, just change into Animation panel mode by clicking the Choose Screen Layout button in the top left part of the screen ( marked with a red circle in the inherent screenshot ). blend file with Blender you will see the rigged model in frontal view. We will make the easiest animation possible, just by rotating a bone to keep things simple, character animation is an art and our goal is to understand how we can relate animations with code. Our first step is to open the rigged model in Blender and create two different simple animations.

Configure Blender to work with animations blend file Blender to Unity import is working fine for our simple task as we will see in a few paragraphs. I assume you have BLENDER and UNITY installed.
#Importing blender model to unity license#
The first step is find a simple 3d blender rigged and animated free model to import in Unity, i found a very nice low poly female fantasy model released under creative commons license that you can DOWNLOAD HERE. When you are a beginner game programmer the first thing you want is to see something happening on the screen when you press a key, this Blender to Unity tutorial will help you achieve this with few lines of javascript code.
#Importing blender model to unity how to#
This Blender to Unity tutorial will show how to import a simple 3d animated model from Blender to Unity while keeping its animations and play the animation by writing few line of javascript code in a Unity script. Finding a free Blender 3d rigged model to import from Blender to Unity
