In this comprehensive tutorial, I'll walk you through the entire process of creating a 6-piece modular railing set from scratch using Maya and UE5.
This step-by-step guide will cover everything you need to know to design a 6-piece railing set: including a straight piece, a half piece, two connector pieces (90 and 180), a stair railing and an end cap.
You'll learn how to model these assets in Maya, export them, and import them into UE5, as well as how to UV, texture, set up materials, and create collisions.
This workflow mirrors the process I used to create a 6-piece railing set available for download on WoLD Patreon for supporters.
Whether you follow along to build your own or grab the pre-made assets, this tutorial will share valuable tips and techniques for modular asset creation.
Let's dive in!
Before modeling, it's critical to set up your scene in Maya to ensure proper scale and snapping for modularity.
Human Scale Reference: I use a scale box (180 cm tall) and an imported UE4/UE5 mannequin to judge proportions and dimensions. These are staples in my workflow. I have a separate tutorial on exporting and importing the mannequin into Maya.
Grid Settings: match Maya's grid to UE5's 10-unit snapping system.
Go to Display > Grid > Options, and set the grid to match a 10-unit increment.
This ensures your assets snap perfectly in both Maya and UE5, the key for modular design. Check my in-depth tutorial on grid setup for more details.
With the scene prepped, we're ready to model our first railing piece.
We'll create 6 modular pieces.
Floor and Wall Templates
Modular railings depend on the environment: floors, walls and stairs - so you'll need to create basic modular architectural templates:
These sizes are my standard for modular environments and the railing will align to them.
Straight Railing (300cm)
Base Cylinder: Create a cylinder with:
Block Out: Duplicate the cylinder (Ctrl + Shift + D to retain inputs), rotate it 90 for a horizontal rail and snap it to the grid at 100cm height. Resize it to 300cm long.
Half Piece (150cm)
Duplicate the 300cm piece, add a center cut using the Multi-Cut tool (Ctrl + Middle Click), delete the right half, you now have 150cm modular railing. Name it railing_straight_150.
Stair Railing
Stairs Template: Create a 150cm tall stair set (10 steps, each 15cm high x 30cm deep x 300cm wide).
Railing: Duplicate the 300cm railing, position copies at the base and 150 cm height, combine them, and bridge the edges (Modeling Toolkit > Bridge > Linear). Add two vertical posts (2.8cm radius), delete excess faces, and snap the pivot to the bottom edge. Name it railing_stairs.
End Cap
Duplicate the 150cm piece railing or 300cm piece railing, bridge the open ends with a blended curve (15 divisions), soften edges, delete the straight section, and snap the pivot to the bottom. Name it railing_endcap.
Connector Pieces
90 Connector: Duplicate the 150cm piece railing or 300cm piece railing, rotate a second copy 90, combine, bridge the ends (blend, 8 divisions), soften edges and delete everything except for the new connector geometry. Name it railing_90.
180 Connector: Position two 150cm pieces 20cm apart, combine, bridge with a blend (12 divisions), soften edges and delete everything except for the new connector geometry. Name it railing_180.
Test modularity of all the modular railings bt duplicating and snapping pieces on the grid - all should align seamlessly.
To export for UE5:
In UE5, create a folder structure where you'll be importing all your Static Meshes and creating all your assets. I create the following subfolders: StaticMeshes, Textures, Materials.
Drag all FBX files into the Static Meshes folder. Import settings:
Drag assets into the level to stress-test snapping and alignment.
UV mapping ensures textures apply correctly. We'll use a tiling texture, so overlapping UVs are fine.
Texel Density: Create a 1m x 1m plane, set its UVs to 0-1 space. In the UV Editor (Transform > Texel Density), set Map Size to 1024, click “Get” (e.g., 10.24 pixels/unit), and use this value for all UV Shells to set them to match the Texel Density.
UV Process:
Final UVs for all the modular railings selected:
Setup: I use a 3x3 quad plane (each quad UV'd to 0-1) and a UE5 mannequin for scale.
Material: Apply a chrome material (I got mine from Adobe Marketplace), tweak various settings for how you want the final texture to look like.
Export: File > Export Textures, use Unreal Engine 4 (Packed) template, set to 1K and save as PNGs (You'll have Base Color, Normal, Metallic/Roughness).
Import Textures: import all exported PNGs into Textures folder in UE5.
Make sure to disable sRGB for the packed texture that contains Roughness and Metallic.
Material: create a Material and name it M_metal_chrome. Open it in Material Editor.
Connect:
Apply this Material, globally to Static Meshes by opening each mesh in the Static Mesh Editor and replacing the Lambert material with M_metal_chrome.
Open all meshes in the Static Mesh Editor.
You've now created a fully functional six-piece modular railing set, from modeling in Maya to texturing and implementation in UE5.
Use these assets to enhance your levels and feel free to expand with more variations or details.
I hope you found this tutorial valuable - happy creating, and see you in the next one!
Home Terms of Use/Trademarks/Disclaimers Privacy Policy Donate About Contact
All content on this website is copyrighted ©2008-2024 World of Level Design LLC. All rights reserved.
Duplication and distribution is illegal and strictly prohibited.
World of Level Design LLC is an independent company. World of Level Design website, its tutorials and products are not endorsed, sponsored or approved by any mentioned companies on this website in any way. All content is based on my own personal experimentation, experience and opinion. World of Level Design™ and 11 Day Level Design™ are trademarks of AlexG.
Template powered by w3.css