🎮Unreal Engine
Last updated
Last updated
Let's start by opening a new UE5 project or your existing project.
To start off clean, create a structure of folders in the content browser that will keep your work decent – we added a “Knittables” folder and two sub-folders “base_mesh” and “animation”.
Open the “base_mesh” folder, drag and drop the .fbx file of your Knittable. A window will pop, with import settings. Scroll down and put the “import uniform scale” to 100 and press import. If a window pops, ignore it and close it. You will get 4 pieces of content added to your project. Drag and drop the object called “skeletal mesh” from the content browser into your scene.
Let's head over to your texture folder and drag and drop the files into Unreal Engine. Double-click the “Unnamed Material” object to open it, and drag and drop the textures files you just imported right into the freshly opened material window.
Now, connect the texture files outputs to the material inputs. “Diffuse” goes into "Color", “Metallic” goes into “Metallic”, “Roughness” goes into “Roughness”, “Normal” goes into “Normal” and “Emission” goes into “Emission”.
Once done, click save on the top left-hand corner and go back to your main scene window. Your Knittable should be textured – if not, take the material object and drag and drop it onto the Knittable in the scene to apply it.
To create animation data, go to mixamo.com and login. Upload the .fbx file of your Knittable, let it process, select the animation of your choice, tweak a few settings if needed and download the result by choosing “without skin” from the “Skin” dropdown menu.
Now, go to your Downloads folder and drag and drop your animation file into the content browser in UE. An import settings window will pop. From the “Skeleton” dropdown menu, select the skeletal object from the previously imported Knittable file. By doing so, you will basically tell UE to share the skeletons between the Knittable geometry and the animation data you just downloaded. Set the uniform scale to 100 to match the previously imported geometry and press “import all”.
Last step, select your Knittable in the scene, head over to the right side to the details panel, go to the animation tab and select “use animation asset” from the “animation mode” menu, and select the data you just imported by using the dropdown “anim to play”.
Voilà, in just a few steps, you successfully imported and brought a Knittable to life in Unreal Engine 5. It is time for you to leverage all the free content available for UE5 and start creating.