Get From Blender to Unreal Engine 4 – Quick Workflow Tips

Our current VR development workflow includes Blender for 3D modeling (free) and Unreal Engine 4 (UE4) for making the actual game/application. If you are like how we were a few months ago, this thought probably went through your mind: “I made something in Blender! Now what?…” If you’re new to Blender and/or UE4 and want to know how to get from one to the other fast, we’ve got a list of tips to help you out.

OVERVIEW

  1. Set up Blender’s default Startup file with settings for UE4
  2. Create a UV Map for Materials/Textures
  3. Export From Blender as FBX
  4. Import the FBX into UE4

In Blender:

1. Edit the default Startup file settings to conform to UE4’s ways

  • Use the Monkey:
    • Start with placing the free built-in monkey mesh (Blender affectionately calls it Suzanne) at the origin. This will help with orienting your later meshes so that they face the right way in UE4. Delete the default cube that shows up in the usual default new file.
  • Units + Scale:
    • UE4’s units are in centimeters (1 UU = 1 cm). We can change Blender’s default unit to match that.
    • Head to the Properties panel to the right and find that line of little icons. Click on the icon for “Scene” (has 3 shapes: sphere, cylinder, and star) and underneath the “Units” section choose “Metric.”
    • In that same section, type in 0.010 for “Scale.”
      • units_labeled
    • Now hover your mouse somewhere in the middle viewport area and hit CTRL+A. Click on “Scale” to apply your changes.
      • CTRL+A blender
    • If you take a look at the toolbar that shows dimensions and other info like location (hit N to toggle the toolbar) then you’ll notice that Blender gave you some mm, cm, and m to tell you you are now using the metric system.
  • Rotation:
    • The “Forward” direction in Blender is -Y, but the “Forward” direction in UE4 is +X. The same? Nope. But we can help ourselves to remember to keep our meshes rotated the correct way by using the monkey.
    • It’s nice to have your meshes (aka models) face the right direction after being imported from Blender into UE4, so we need to change the default rotation of the monkey mesh for your reference.
    • Make sure you have the monkey mesh selected.
    • Go back to that line of little icons in the Properties panel on the right and click on the one for Object (looks like an orange cube).
    • Set the Rotation on the Z-axis for Suzanne to be 90 degrees.
      • rotationproperties
    • Hover your mouse in the viewport, hit CTRL+A, and click “Rotation.”
      • rotation
      • Note: Suzanne the monkey is facing in the positive X direction (red arrow and axis).
  • Download a copy of the default startup file from GitHub here.

2. Create a UV map of your mesh for setting your materials onto in UE4

A UV map is basically a 2D image made from “unwrapping” the skin of your 3D mesh and laying it flat (Check out our post on how to do basic UV mapping here). You can then later paint or apply a texture to your mesh knowing that the right stuff will display on the right place on your mesh. You can even apply multiple materials to one mesh. The “UV” refers to the “XY” axis and is really just a way to differentiate it from the “XYZ” notation for 3D space. The UV map gets tucked into your mesh file so don’t worry about having to export extra files in addition to your mesh. This was a major stumbling point for us when we first started learning 3D modeling because we didn’t even realize we needed something called UV maps until we started seeing funky dark smudges and unexplainable mismatches of texture edges on our meshes in UE4. Take note: Learning to create good UV maps is really important no matter which 3D modeling program you use.

3. Export as FBX

  • Go to the “File” menu and look for Autodesk FBX (.fbx) in the “Export” menu.
    • If you don’t see it, make sure you have the addon installed. In the “File” menu choose “User Preferences”, and click on the “Addons” button at top. Search for FBX and check the box for “Import-Export: Autodesk FBX format.” Then click on “Save User Settings” at the bottom.
      • Screen Shot 2015-01-02 at 3.58.39 PM
  • In terms of export options, we usually don’t change too much. In the side menu we are most often checking the box for “Selected Objects” when we only want to export certain meshes from our file, and also changing “Smoothing” to “Face.” UE4 will often let you know during import if your mesh doesn’t have smoothing.
  • exportoptions

In UE4:

4. Import the FBX

  • We usually don’t change the default import options.
  • Note: If you set materials/textures to your mesh in Blender and want to use those in UE4, make sure the options “Import Textures” and “Import Materials” are checked.
  • Take a look at a wooden monkey in UE4.

monkey in UE4

5. Rejoice!

You’re on your way to bringing more VR awesomeness (or at least 3D awesomeness) into the world.


Feel free to share your questions and comments with us. Check out our Subreddit and Twitter. We love hearing from other VR developers!

3 thoughts on “Get From Blender to Unreal Engine 4 – Quick Workflow Tips

  1. Great job on this – The tutorial was actually really well done. I’ve linked it to a guy who is playing around with UE4. Great choice using Blender, I’ve always loved the software myself 🙂

    I’m interested in what you’re making ((I hope you have wooden Suzanne monkeys everywhere in your finished environment :P!!!))

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s