How to insert meshes into roblox studio

Help and Feedback Building Support

I’m extremely new to making meshes and I followed an online tutorial to make a mesh inside of blender. Now, I’m confused as of how to insert it into Roblox Studio. Thanks,

UnOfficial_101

  • What are you attempting to achieve? - I am trying to insert a mesh I made from blender into roblox studio
  • What is the issue? - I am not sure how to insert a mesh I made from blender
  • What solutions have you tried so far? - I tried searching on reddit and I couldent find a direct answer

Thank you!

How to insert meshes into roblox studio
UnOfficial_101:

  • What are you attempting to achieve? - I am trying to insert a mesh I made from blender into roblox studio
  • What is the issue? - I am not sure how to insert a mesh I made from blender
  • What solutions have you tried so far? - I tried searching on reddit and I couldent find a direct answer

You know you dont have to include that in your post.

Inserting meshes is really simple. All you need to do is left click and add a mesh part into your map. From there you go press the file icon next to mesh id. After that pick the mesh you want to insert from your files and it will spawn in. It’s most likely going to be oversized so you might need to scale it. Hope this helps! If you need any more help I’ll be able to explain farther.

Make sure to export the file out of blender into something like a wavefront (OBJ), then go into studio, right click and under insert press Meshpart

How to insert meshes into roblox studio

Then press the folder icon in MeshID and select your file (OBJ)

How to insert meshes into roblox studio

Hope this helped!

2 Likes

Thanks for helping!

How to insert meshes into roblox studio

2 Likes

Yes I do know that I dont have to have the questions there. However I feel that its good for formatting a post.

1 Like

10 min

This article summarizes how to upload meshes to Roblox from models created in Autodesk Maya, Blender, etc.

Uploading Meshes

The easiest way to upload meshes is through the Import button of the Asset Manager window (View tab → Asset Manager).

How to insert meshes into roblox studio

Upon completion, this will create one or more mesh assets in the Meshes folder:

How to insert meshes into roblox studio

How to insert meshes into roblox studio
By default, a file consisting of multiple meshes will import into Studio as separate meshes. If this is not your desired outcome, check Import file as single mesh when importing the file.


  • If any child mesh contains more than 5000 polygons, the parent mesh will be rejected.
  • If a parent mesh contains more than 50 child meshes, all children meshes will be rejected.


To insert a mesh into your game, right-click it and select Insert. Alternatively, if the mesh contains location data, you may preserve it upon insertion by selecting Insert With Location.

How to insert meshes into roblox studio
Insert without location data

How to insert meshes into roblox studio
Insert with location data

This will insert a MeshPart instance with your mesh applied:

How to insert meshes into roblox studio

Applying Textures

A mesh file can define a path to a texture for a mesh. If this is set and the path is valid, the texture will automatically be applied when the mesh is inserted.

How to insert meshes into roblox studio

If the texture is not inserted automatically, one can be applied to a MeshPart by setting its MeshPart/TextureID|TextureID, either in Studio or at runtime through a script.

To apply a mesh texture in Studio:

  1. Select the MeshPart object within the game editor view or Explorer hierarchy.
  2. In the Properties window, click on its TextureID field.
How to insert meshes into roblox studio

In the context popup window, the texture can be applied in various ways:

  • Select any image (texture) that you previously uploaded.
  • Upload a new texture by clicking the Add Image… button near the bottom of the popup.
  • If you know the Roblox asset ID for the texture, for instance rbxassetid://0123456789, you can paste it into the URL field at the top of the popup.

Collision Geometry

Like UnionOperation|UnionOperations, MeshPart|MeshParts have a CollisionFidelity property. This setting determines how closely the visual representation of the object matches the physical bounds of the object. See MeshPart/CollisionFidelity|CollisionFidelity for more information.

Level of Detail

By default, meshes will always be shown in precise fidelity, no matter how far they are from the game camera. This improves their appearance when viewed from any distance, but if a place has a large number of detailed meshes, it may reduce overall game articles/Improving Performance|performance.

To dynamically control a mesh part’s level of detail, change its enum/RenderFidelity|RenderFidelity property to Automatic. This will cause the mesh to be rendered at a different level of detail depending on its distance from the camera:

Distance From Camera Render Fidelity
Less than 250 studs Highest
250-500 studs Medium
500 or more studs Lowest

How to insert meshes into roblox studio
Highest (12348 triangles)

How to insert meshes into roblox studio
Medium (5587 triangles)

How to insert meshes into roblox studio
Lowest (2709 triangles)

Troubleshooting

With mesh importation, certain issues can occur. Most of these are caused by a misunderstanding of what Roblox allows on importation. The following are some common issues and an overview on how to fix them.

Scenario Solution
Import Issues With Complex Multi-Mesh FBX Files Complex .fbx multi-mesh files may not import correctly, causing unexpected mesh positions or rotations. One workaround is to use the Wavefront (.obj) format instead. If you're exporting from Blender, make sure each mesh is exported as a group:
  • Uncheck the Objects as OBJ Objects checkbox.
  • Check the Objects as OBJ Groups checkbox.
Model Contains Rigging or Animation Data Studio does not currently support animation or rigging data importation. If your mesh is reliant on an initial transformation based on animation/rigging data, it will not be preserved and your mesh may look incorrect. To fix this, remove the animation/rigging nodes and upload the mesh again.
Extremely Large FBX Files Exported From Blender Blender may apply a scaling factor when exporting a mesh as an .fbx file, depending on its settings. This may result in oversized meshes when importing into Studio. There are at least two ways to prevent Blender from applying the scaling factor:
  • Export as Wavefront (.obj) instead of .fbx. Blender will not apply any scaling factor, so one unit in Blender will equal one stud in Roblox.
  • Use centimeters as the default unit instead of meters (this can be changed in the Scene properties of Blender).
Out of Bound UVs UVs map the location of the texture to a position on the mesh. UVs outside the bounds of the texture are drawn as if they're still within the texture, resulting in a tiled texture. This can be fixed by remapping the mesh with UVs inside the bounds of zero and one.

Tags:


Page 2

10 min

Solid modeling lets you create complex models from simple blocks, spheres, wedges, and cylinders. Unioned models can significantly reduce overall part count in a game and improve performance.

How to insert meshes into roblox studio

How to insert meshes into roblox studio

How to insert meshes into roblox studio

Modeling Operations

Union

The main operation for solid modeling is Union. To use it, select the parts you want to combine and click the Union button in the Model tab. This will create a new part called Union.

How to insert meshes into roblox studio

You should only use Union on basic parts (block, sphere, wedge, or cylinder). Also, these parts should not have any children such as scripts, surface GUIs, etc. If a part with children is unioned, the children will be hidden from the DataModel.

Solid modeling allows for more than just joining two parts together — parts can also be removed from other parts using the Negate button. To use it, select a part and click the Negate button in the Model tab.

How to insert meshes into roblox studio

This will convert the part to a “negative part” (it will turn red and translucent to indicate this). If this negative part is unioned with a normal part using the Union tool, the section of the parts which overlap will be cut out.

Note that you can undo part negation by selecting the negated part and clicking Negate again.

To revert (undo) the result of a unioned model, select it and click Separate. This breaks the union apart so you can resize and rework the model.

How to insert meshes into roblox studio

  • If a union operation would result in a part with more than 5000 triangles, it will fail and Studio will alert you to the error in the Output window.
  • A unioned or negated part can only be scaled uniformly (all of the dimensions must be scaled at the same proportion). If you need to change just one part in a solid model, separate the model, transform the specific part, and redo the union process.


By default, solid modeled parts will always be shown in precise fidelity, no matter how far they are from the game camera. This improves their appearance when viewed from any distance, but if a place has a large number of detailed solid modeled parts, it may reduce overall articles/Improving Performance|game performance.

To dynamically control a solid modeled part’s level of detail, change its enum/RenderFidelity|RenderFidelity property to Automatic. This will cause the part to be rendered at a different level of detail depending on its distance from the camera:

Distance From Camera Render Fidelity
Less than 250 studs Highest
250-500 studs Medium
500 or more studs Lowest

Smoothing

The PartOperation/SmoothingAngle|SmoothingAngle property represents an angle in degrees for a threshold value between face normals on a solid modeled part. If the normal difference is less than the value, normals will be adjusted to smooth the difference. Usually a value between 30 and 70 degrees will produce a good result. 0 degrees leads to sharp edges. Values between 90 and 180 degrees are allowed but not encouraged, as it may cause a “shadowing” effect on unions with sharp edges.

How to insert meshes into roblox studio
SmoothingAngle : 0

How to insert meshes into roblox studio
SmoothingAngle : 50

Note that smoothing will not affect the normals between different materials or different colors.

Tags: