Lesson 1 of 6

Blender basics for Roblox, part 1: the window, the camera and the stud

Start modelling for Roblox in Blender. Learn the window, the camera, Object and Edit Mode, why Beacon Yard models 1 Blender unit as 1 stud, and how Z-up becomes Y-up.

Tool lesson, about 40 minutes, 11 steps

By the end you can

  • Find the 3D Viewport, Outliner and Properties editor in Blender and say what each does
  • Orbit, pan and zoom the camera without moving the mesh, and switch between Object Mode and Edit Mode
  • Set Blender up so 1 Blender unit is 1 stud, and convert a point from Blender's Z-up axes to Roblox's Y-up axes

Before this: World building in code: MapBuilder, lighting, atmosphere

1A coin, built from three cylinders

The coin you collect in Beacon Yard started life in Blender, a free 3D program. Watch it get built: a new file, the default cube deleted, then a rim, a raised face and a small pip in the middle. Nothing here is code. It is points in space that you push around with the mouse.

Figure 1.1.

The coin from an empty file to a finished disc. This footage is from an earlier pass of the course; the steps are the same in today's Blender.

Transcript
  1. 0:00 A new file opens on the default cube, and the cube is deleted.
  2. 0:09 The coin is three cylinders: rim, face, and pip.
  3. 0:40 Edit Mode is where the vertices live.
  4. 0:46 The origin goes in the middle of the disc.
  5. 0:50 Apply transforms so the object scale is 1. The mesh reads 180 triangles.

In the clip, what is the coin made of?

  1. Three cylinders on one mesh: a rim, a raised face and a centre pip
  2. One cylinder with a texture painted on it
  3. A sphere squashed flat
  4. A Roblox Part imported into Blender
Answer

Three cylinders on one mesh: a rim, a raised face and a centre pip. The coin is three stacked cylinders of different radius, joined into one mesh. Simple shapes stacked together is how most props start.

Open this step in lesson mode · Link to this step · This confused me

2Four parts of the window

Blender opens on a busy screen, but four regions do most of the work. The big middle area is the 3D Viewport, where you see and edit the model. Top right is the Outliner, a list of every object in the file; it is the closest thing Blender has to Studio's Explorer. Under it is the Properties editor, with tabs for the object, the scene, modifiers and materials; it plays the part of Studio's Properties window. Along the bottom is the Timeline, which matters later for animation1.

Blender
Blender with the Beacon Yard drone body selected in the 3D Viewport. The Statistics overlay reads Objects 1 / 6 and Triangles 84 / 304, the Outliner shows Drone with five child meshes collapsed under it, and the Properties editor shows location 0 m, rotation 0 degrees and scale 1.

Select a numbered pin, or a row below, to read what it marks.

Figure 2.1.

The drone open in Blender (with default metric unit labels still on before you switch Unit System to None). The statistics in the top-left corner count the selected body (1 / 6 objects, 84 triangles) and the whole six-object drone (304 triangles).

Match each Blender region to the Studio window that does the same job.

  1. Outliner
  2. Properties editor
  3. 3D Viewport
  4. Timeline
Answer

Outliner: Explorer; Properties editor: Properties; 3D Viewport: The 3D view in the middle of Studio; Timeline: The Animation Editor's track. The Outliner lists objects like Explorer lists instances. The Properties editor edits the selection like Studio's Properties window. The viewport is the 3D view, and the Timeline holds keyframes like the Animation Editor.

Open this step in lesson mode · Link to this step · This confused me

3Move the camera, not the mesh

Hold the middle mouse button and drag to orbit around the model. Hold Shift with the middle button to pan, and roll the wheel to zoom. Number-pad 1, 3 and 7 snap to front, side and top views, and the axis gizmo in the corner does the same with a click2. A laptop has no number pad: turn on Emulate Numpad under Edit > Preferences > Input, and the number keys along the top of the keyboard do the same job.

Windows

  • Orbit, pan, zoom: middle mouse drag orbits, Shift + middle mouse pans, and the scroll wheel zooms.
  • Undo / Save: Ctrl+Z undoes a stray move; Ctrl+S saves.
  • No middle mouse button: drag the hand and magnifier icons at the right edge of the viewport, or turn on Edit, Preferences, Input, Emulate 3 Button Mouse to orbit with Alt + left drag.

macOS

  • Orbit, pan, zoom: two-finger drag on a trackpad orbits, Shift + two-finger drag pans, and pinch zooms (or use a three-button mouse the same way as Windows).
  • Undo / Save: Cmd+Z undoes a stray move; Cmd+S saves.
  • No middle mouse button: drag the hand and magnifier icons at the right edge of the viewport, or turn on Blender, Settings, Input, Emulate 3 Button Mouse to orbit with Option + left drag.

All of this moves your view. The vertices stay where they are.

Figure 3.1.

Orbit, pan and zoom around the drone. The object name in the Outliner never changes, because nothing about the mesh changed.

Transcript
  1. 0:02 Middle mouse orbits the view.
  2. 0:11 Shift and middle mouse pans.
  3. 0:15 The scroll wheel zooms.
  4. 0:20 The object in the Outliner is still named Drone.

You orbit around the drone for a minute and then save the file. What changed in the drone mesh?

  1. Nothing: orbiting moves the view, not the vertices
  2. The drone rotated to face the new view
  3. The drone's origin moved to the centre of the screen
  4. The drone's scale changed with the zoom
Answer

Nothing: orbiting moves the view, not the vertices. Orbit, pan and zoom move your viewpoint. Blender saves the view in the file, but the mesh data is untouched.

Open this step in lesson mode · Link to this step · This confused me

4Object Mode and Edit Mode

Press Tab to switch modes. Object Mode moves, rotates and scales the whole object, the way you drag a Part around in Studio. Edit Mode reaches inside the object to its verticesVertexOne point of a mesh. Edges join vertices, and faces fill the space between edges.Think of it as a pin stuck in the model; move the pin and the surface follows., edges and faces. Blender's manual describes the usual flow: block out a shape with simple primitives, then add detail in Edit Mode3.

The header in the top-left corner always tells you which mode you are in. When a click "does nothing", check that first.

Two kinds of change

Object Mode changes where the object is. Edit Mode changes what the object is. Moving a coin across the scene is Object Mode; making the rim thicker is Edit Mode.

Put the steps in order to make the coin's rim a little thicker.

  1. Press Tab to go back to Object Mode
  2. Move them up with G, then Z
  3. Press Tab to enter Edit Mode
  4. Select the coin in the Outliner
  5. Select the rim's top ring of vertices
Answer

1. Select the coin in the Outliner 2. Press Tab to enter Edit Mode 3. Select the rim's top ring of vertices 4. Move them up with G, then Z 5. Press Tab to go back to Object Mode. Pick the object, go into Edit Mode, select the vertices, move them, and return to Object Mode so the next click selects objects again.

Open this step in lesson mode · Link to this step · This confused me

5One Blender unit is one stud

Roblox measures length in StudStudRoblox's unit of length. Sizes, positions and speeds are all in studs.Think of it as one square on the grid of the baseplate.s, and its units page sets one stud to 28 cm4. Blender starts in metres. Roblox's own Blender guide says to open Scene Properties, then Units, and set Unit System to None, so a length in Blender reads as a plain number you treat as studs1.

Blender
Blender on a new file with the cube selected. The Properties editor is on the Scene tab with the Units panel open: Unit System reads None and Rotation reads Degrees. The sidebar in the 3D Viewport lists the cube's Dimensions as 2.000, 2.000, 2.000 with no unit after them.

Select a numbered pin, or a row below, to read what it marks.

Figure 5.1.

The Units panel after the change. With Unit System None, the Dimensions of the default cube read 2.000 with no m after them.

Beacon Yard follows that rule: 1 Blender unit is 1 stud. The repo's model templates say so in their README, and the sizes in them are stud sizes. The coin is about 2 studs across and a third of a stud thick:

<string name="Name">Coin</string>
<Ref name="PrimaryPart">COIN</Ref>
</Properties>
<Item class="MeshPart" referent="COIN">
<Properties>
<string name="Name">Coin</string>
<Content name="MeshId"><url>{{COIN_MESH_ID}}</url></Content>
<Vector3 name="size"><X>1.992</X><Y>0.335</Y><Z>1.992</Z></Vector3>
Figure 5.2

The shipped coin is 1.992 studs across. One stud is 0.28 metres. How many metres across is it?

Answer

0.558 metres (within 0.005). 1.992 times 0.28 is about 0.558 metres, a little over half a metre. Modelling 1 unit per stud keeps the number you type the number Studio shows.

Open this step in lesson mode · Link to this step · This confused me

6Z is up in Blender, Y is up in Roblox

Look at the axis gizmo in each program. In Blender the blue Z axis points up, because a model rises out of a flat drawing. In Studio, Y points up, because characters walk on the ground and jump1. Same object, two ways of writing where its points are.

Both sidesBlender's Z-up axes and Roblox's Y-up axes is two maps of the same town that print the axes differently.
In the pictureIn Roblox
The townThe model: its shape does not change between programs
Each map's grid labelsBlender's axes (Z up, Y forward) and Roblox's axes (Y up)
Rewriting an address for the other mapConverting Blender (x, y, z) to Roblox (x, z, -y)

See the whole analogy cast

Moving between the two programs is like reading two maps of the same town that print the axes differently. A landmark does not move; only the way you write its position changes.

Think of it as Two maps of the same town that print the axes differently

Roblox's Blender guide exports with Z Forward and Y Up1. Beacon Yard's v1 templates were built with Blender's default pair, Forward -Z, Up Y, which is also the pair Blender's manual gives for programs that use Y as up5, and the numbers in this lesson use that pair. In numbers, a Blender point (x, y, z) becomes the Roblox point (x, z, -y). With Z Forward the exported file would hold (-x, z, y) instead, a half-turn about the vertical axis, so the drone offsets below are the -Z ones. For your own exports follow Roblox's guide and check which way the Importer preview faces.

Using Roblox = (x, z, -y), where does the Blender point (0, 1, 0) land in Roblox?

-- Blender (x, y, z) to Roblox (x, z, -y)
local bx, by, bz = 0, 1, 0
print(bx, bz, -by)
  1. 0 0 -1
  2. 0 1 0
  3. 0 0 1
  4. 1 0 0
Answer

0 0 -1. x stays 0, Blender's z (0) becomes Roblox's y, and Blender's y (1) becomes Roblox's z as -1. Blender's forward, +Y, lands on -Z in Roblox, the direction a Part's front faces.

Open this step in lesson mode · Link to this step · This confused me

7Read a real position both ways

Both sidesRemember: Blender's Z-up axes and Roblox's Y-up axes is two maps of the same town that print the axes differently.

The drone template places its front-left rotor at a Roblox position of X 1.0735, Y 0.696, Z -0.791, measured from the drone body:

<string name="Name">RotorFL</string>
<Content name="MeshId"><url>{{DRONE_ROTOR_FL_MESH_ID}}</url></Content>
<Vector3 name="size"><X>0.9492</X><Y>0.087</Y><Z>0.9492</Z></Vector3>
<CoordinateFrame name="CFrame"><X>1.0735</X><Y>0.696</Y><Z>-0.791</Z><R00>1</R00><R01>0</R01><R02>0</R02><R10>0</R10><R11>1</R11><R12>0</R12><R20>0</R20><R21>0</R21><R22>1</R22></CoordinateFrame>
Figure 7.1

That number is what Studio reads. When you open the drone in Blender later to rig it, you will see the same rotor at a different-looking position. Work it out before you get there.

Roblox position (1.0735, 0.696, -0.791) came from Blender with Roblox = (x, z, -y). What was the Blender position?

  1. (1.0735, 0.791, 0.696)
  2. (1.0735, 0.696, -0.791)
  3. (1.0735, -0.791, 0.696)
  4. (0.696, 1.0735, 0.791)
Answer

(1.0735, 0.791, 0.696). Blender z = Roblox y = 0.696, and Blender y = -(Roblox z) = 0.791. So the rotor sat at (1.0735, 0.791, 0.696) in Blender: forward is +Y there, up is +Z.

Open this step in lesson mode · Link to this step · This confused me

8Where the two-maps picture breaks

Two maps that only swap labels would be easy: rotate the paper and read on. Try to say why that is not quite enough here before you open the breakdown.

Where does it break?“Two maps of the same town that print the axes differently” is a good picture of blender's z-up axes and roblox's y-up axes. Where does it stop being true?

It breaks here. Swapping two axes on a map is harmless, but in 3D a swap without a sign flip mirrors the model: a left hand becomes a right hand, and a drone's eye ends up at its rear.

The true model. The conversion is a rotation of 90 degrees about X, written as Roblox (x, z, -y). The minus sign keeps it a rotation; dropping it turns it into a reflection that symmetric props hide and asymmetric props reveal.

Someone converts with Roblox = (x, z, y), dropping the minus sign. The coin is symmetric, so it looks fine. What goes wrong on the drone?

  1. It comes in mirrored front to back: the eye ends up at the rear
  2. Nothing; the minus sign only matters for size
  3. It comes in upside down
  4. It comes in 100 times too big
Answer

It comes in mirrored front to back: the eye ends up at the rear. Swapping y and z alone is a reflection, not a rotation. Symmetric props hide it; anything with a front, like the drone's eye at Z -0.52, shows it. The minus sign keeps the model a rotation of itself.

Open this step in lesson mode · Link to this step · This confused me

9Build it: a Blender ready for studs

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
BlenderFree, open-source 3D suite: modelling, sculpting, texture unwrapping, rigging, animation.The default for Roblox creators and indie teams; Roblox's own art docs give Blender steps first.A large interface with many shortcuts; Z-up axes and metre defaults need setting up.
Autodesk MayaPaid industry modelling and animation package.Studios with film or console pipelines, and character animators trained on it. Roblox's export docs include Maya steps.Subscription cost; most Roblox tutorials assume Blender.
BlockbenchFree low-poly and cuboid modeller with painting built in.Blocky or voxel-style props and quick low-poly assets.Not built for organic shapes or complex rigs.
Parts in StudioBuilding from Parts and unions inside Studio.Layout, greyboxing and simple architecture.No custom texture layouts, no bevels or smooth curves without many parts; hard to reuse outside Roblox.

Retiring the analogy

You no longer need “two maps of the same town that print the axes differently”. The conversion is a rotation of 90 degrees about X, written as Roblox (x, z, -y). The minus sign keeps it a rotation; dropping it turns it into a reflection that symmetric props hide and asymmetric props reveal.

Build along

m12-money

  1. Install Blender from blender.org and start a new General file. The steps follow the Blender manual for version 5.3, the current release when this lesson was written. Roblox's own rigging guides were written for Blender 3.0, so a menu can sit in a different place in your version. The manual's search box finds it.

    You should see Blender opens on a new General file with a cube, a camera and a light.

  2. In the Properties editor, open the Scene tab, expand Units, and set Unit System to None and Rotation to Degrees.

    You should see The Units panel shows Unit System None and Rotation Degrees.

  3. Select the cube, press N to open the sidebar, and read its Dimensions.

    You should see The cube's Dimensions in the N panel read 2, 2, 2 with no unit after them.

  4. Choose File, Defaults, Save Startup File so every new file starts with stud-friendly units.

    You should see Opening Blender again starts with Unit System None.

Open this step in lesson mode · Link to this step · This confused me

10Challenges

Level 1, Apprentice

Challenge

Get comfortable with the camera. Orbit a full circle round the cube, pan it to one corner of the view, then zoom until it fills the screen. Check in the Properties editor that its location is still 0, 0, 0.

Start from
A new Blender file

Done means

  • You can orbit, pan and zoom around the default cube without moving it
  • You can name the mode in the header after pressing Tab twice

Hints

  1. Middle mouse drag (or two-finger drag on a Mac trackpad) orbits; Shift plus that pans; the wheel or pinch zooms.
  2. If the cube moves, you were in a move tool. Press Ctrl+Z on Windows or Cmd+Z on macOS, then orbit without selecting a transform tool.

Level 2, Builder

Challenge

Open assets/templates/Drone.rbxmx in a text editor. Convert each rotor's position to Blender coordinates and write the four answers down. You will place bones at these points in the rigging lesson.

Start from
The game at milestone m12 (download)

Done means

  • You converted all four rotor positions in assets/templates/Drone.rbxmx from Roblox to Blender coordinates
  • Your four answers are mirror images across the X and Y axes in Blender

Hints

  1. RotorFL, RotorFR, RotorBL and RotorBR each have a CoordinateFrame with X, Y and Z.
  2. Blender x = Roblox X, Blender y = minus Roblox Z, Blender z = Roblox Y.

Why does Beacon Yard keep 1 Blender unit equal to 1 stud instead of modelling in metres?

  1. Sizes in Blender then match the stud sizes in the templates and in Studio, so nothing is multiplied by 0.28 on the way
  2. Blender cannot model in metres
  3. Roblox refuses meshes modelled in metres
  4. It makes the triangle count smaller
Answer

Sizes in Blender then match the stud sizes in the templates and in Studio, so nothing is multiplied by 0.28 on the way. With one unit per stud, a 2-stud coin is 2 units in Blender and 2 studs in Studio. Any conversion step is a chance for a size bug.

Open this step in lesson mode · Link to this step · This confused me

11Recap

Recap

  1. The 3D Viewport, Outliner and Properties editor do the jobs of Studio's 3D view, Explorer and Properties; orbiting moves the view, never the mesh.
  2. Object Mode moves whole objects; Edit Mode changes vertices, edges and faces. Tab switches.
  3. Beacon Yard models 1 Blender unit as 1 stud with Unit System None, and converts Blender (x, y, z) to Roblox (x, z, -y).

Blender's Z-up axes and Roblox's Y-up axes is two maps of the same town that print the axes differently, until swapping two axes on a map is harmless, but in 3D a swap without a sign flip mirrors the model: a left hand becomes a right hand, and a drone's eye ends up at its rear.

Next Blender basics for Roblox, part 2: model a prop the game can use

Open this step in lesson mode · Link to this step · This confused me