Skip to content

MeshPart

Supported Class Physics

A form of BasePart that includes a physically simulated custom mesh.

5 Nova members · 6 modern Roblox members not implemented yet

Description

MeshPart is a form of BasePart that includes a physically simulated custom mesh. Unlike with other mesh classes, such as SpecialMesh and BlockMesh, they are not parented to a BasePart but rather behave as a BasePart in their own right.

The mesh and texture of a MeshPart are determined by the MeshId and TextureID properties. For more information, see Meshes.

Inheritance

Object → Instance → PVInstance → BasePart → TriangleMeshPart → MeshPart

Nova inheritance: Instance → PVInstance → BasePart → MeshPart

Properties

CollisionFidelity Supported Property Determines the level of detail the part's physics will adhere to its mesh.
CollisionFidelity: CollisionFidelity

Determines the level of detail the part's physics will adhere to its mesh.

This property determines how the collision model of the TriangleMeshPart relates to the actual geometry of the mesh. This property cannot be read or manipulated by scripts during runtime.

See here for a visual representation of the various options.

Roblox documentation

DoubleSided Supported Property Determines whether to render both faces of polygons in the mesh.
DoubleSided: bool

This property determines whether to render both faces of polygons in the mesh. This is useful for meshes that are typically modeled as "cards" such as a leaf, hair, or cloth.

Roblox documentation

MeshId Supported Property The asset URIs of the mesh that is displayed on the MeshPart. Reads and writes to MeshContent.
MeshId: Content

The asset URIs of the mesh that is displayed on the MeshPart. Reads and writes to MeshContent.

Note that this property cannot be changed directly by scripts, as the collision geometry of the mesh cannot be recomputed in real time. See AssetService.CreateMeshPartAsync() as a method to create a new MeshPart from a given Content with a specified CollisionFidelity. MeshPart.ApplyMesh() can be used to overwrite the MeshContent, TextureContent, and collision geometry of an existing MeshPart.

Roblox reference signature
MeshId: ContentId

Roblox documentation

RenderFidelity Supported Property The level of detail used to render the MeshPart.
RenderFidelity: RenderFidelity

The level of detail used to render the MeshPart.

This property determines the level of detail that the MeshPart will be shown in. It can be set to the possible values of the RenderFidelity enum.

The default value is Automatic, meaning the mesh's detail is based on its distance from the camera as outlined in the following table.

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

Roblox documentation

TextureID Supported Property The texture applied to the MeshPart. Reads and writes to TextureContent.
TextureID: Content

The texture applied to the MeshPart. Reads and writes to TextureContent.

When this property is set to an empty string, no texture will be applied to the mesh.

local Workspace = game:GetService("Workspace")

local meshPart = Workspace.MeshPart
meshPart.TextureID = ""  -- No texture

Note that the MeshPart.MeshId property cannot be changed during runtime but the texture can. See TextureContent for details.

Roblox reference signature
TextureID: ContentId

Roblox documentation

Inherited members

Inherited from BasePart: 65 properties, 54 methods, 13 events. They are documented on the base class page.

6 modern Roblox member(s) are not implemented yet — expand to inspect

Members declared by Roblox's MeshPart class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.

Properties

Member Signature Status Notes Flags
CollisionPrecision CollisionPrecision: float Not yet Inherited from TriangleMeshPart. NotReplicated, read None / write PluginSecurity
FluidFidelity FluidFidelity: FluidFidelity Not yet Inherited from TriangleMeshPart. NotReplicated
MeshContent MeshContent: Content Not yet The mesh that is displayed on the MeshPart. Supports asset URIs and [EditableMesh](EditableMe… read None / write NotAccessibleSecurity
MeshSize MeshSize: Vector3 Not yet Inherited from TriangleMeshPart. ReadOnly, NotReplicated
TextureContent TextureContent: Content Not yet The texture applied to the MeshPart. Supports asset URIs and [EditableImage](EditableImage.md… —

Methods

Member Signature Status Notes Flags
ApplyMesh MeshPart:ApplyMesh(meshPart: Instance): null Not yet Overwrites the MeshContent, TextureContent, and collision geometry properties of this MeshPart fr… —

Roblox reference: MeshPart

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.