TriangleMeshPart
TriangleMeshPart is an abstract intermediate class from which MeshPart and PartOperation inherit. It was created to consolidate the management of physical geometry properties between the two sub-classes. It implements the read-only CollisionFidelity.
Summary
Properties
Determines the level of detail the part's physics will adhere to its mesh.
Methods
Events
Properties
CollisionFidelity
This property determines how the collision model of the TriangleMeshPart relates to the actual geometry of the mesh. In situations where the collision model of a mesh is unimportant or precision isn't necessary, it's a good idea to use Box to improve performance. PreciseConvexDecomposition provides the most accurate collision fidelity.
CollisionFidelity has four options, the results of which are demonstrated in the images below.
![]() | ![]() | ![]() |
![]() | ![]() |
A visual representation of a MeshPart collision model can be viewed by enabling Show Decomposition Geometry in Studio's settings.
This property cannot be read or manipulated by scripts during run time.