MeshPart

Bring in a mesh from OBJ, glTF or FBX and use it like any part. Export the file again and the part picks up the new mesh.

A low granite plinth on a paved patio before a sunlit cream plaster wall, blue sky above, mid afternoon sun from the front left; the plinth is empty.
Before
The same frame with a painted wooden bench on the plinth, seen from the front at an angle: two curled end panels, a low back, the seat and a shelf below it, in worn dark red paint.
After

After: A MeshPart with a painted wooden bench as its mesh, Size (3.33, 2.54, 1.42).

A MeshPart is a BasePart drawn with the MeshContent in its Mesh. The mesh is fitted to its box and stretched to Size, like Roblox. Its TexturePack's images, Texture and every map, follow the mesh's own UVs. When the file on disk changes, the mesh is read again and every part using it updates, keeping its scale, in one undo step. The built-in Plane, Cube, Sphere and Torus are meshes too. CollisionFidelity sets its shape for physics.

Properties

Physics

NameTypeDefaultDescription
CollisionFidelity("Default" | "Hull" | "Box" | "PreciseConvexDecomposition" | Enum.CollisionFidelity)Default
Default, Hull, Box, PreciseConvexDecomposition
How it collides: Default is its triangles while anchored and its convex hull while it moves.

Contact

ContactBulgenumber0.3
0 to 1
ContactDeformbooleanfalse
ContactFalloffnumber0.15
0 to 100
ContactSoftnessnumber0.5
0 to 1

Appearance

MeshMeshContentThe part's MeshContent, with a cube standing in when there is none; its texture and maps are on its TexturePack.
From BasePart 48
From Instance 22

Subclasses