# Creating [[3d model]] # Rigging https://www.youtube.com/watch?v=RdTuAY23vzk # Using in [[Unity]] ## Importing ``` Assets/ Models/ Textures/ Materials/ ``` - `.fbx` → `Models/` - `.png` → `Textures/` > [!NOTE] > You don't need the `.blend` file in Unity — the `.fbx` is your runtime mesh. The `.blend` is your source-of-truth for editing. ## Interacting with the world For just getting things done, I used [mixamo](https://www.mixamo.com/) to generate [[animations]] off of the fbx, and Idle, Walk, and Running animation. It doesn't look good but functionality wise it's a good test and starting ground. ## Controller & Animator ### Create the Animation Controller In the Project Tab, Right Click > Create > Animation > Animation Controller ### Setup the Animator In the controller you need a param and function called `Speed`: ```cs private static readonly int SpeedHash = Animator.StringToHash("Speed"); ``` In the Animator tab at the top, and then going to Parameters. You'll want to: 1. Create a parameter called "Speed" 2. From there if you Right click > Create State > From New Blend Tree 3. And then double clicking the "Blend Tree" to enter the blend tree. 4. In the blend tree, you can look at the Inspector and under Motion you can add a motion.