# Enum.CollisionFidelity

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/CollisionFidelity/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/CollisionFidelity

Determines behavior of the collision hitbox for [`MeshPart`](https://rapi.sleaze.dev/classes/MeshPart.md) and [`PartOperation`](https://rapi.sleaze.dev/classes/PartOperation.md) instances.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Default` | 0 | Collision model uses a voxel-based convex-hull decomposition that is relatively fast but may not be highly accurate, especially for holes, doorways, and cavities in general. |
| `Hull` | 1 | Collision model uses the convex hull of the visual mesh. |
| `Box` | 2 | Collision model uses a bounding box that encompasses the visual mesh. |
| `PreciseConvexDecomposition` | 3 | Collison model uses a convex-hull decomposition of the visual mesh which is computed by a variation of an algorithm called HACD. This option is the most accurate representation of collision geometry for complex objects with built-in tolerances to reduce the total number of convex-hulls by compromising on accuracy when justified. |
| `Tunable` | 4 | Collision model that supports precision tuning of convex decomposition fidelity. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [BasePart](https://rapi.sleaze.dev/classes/BasePart.md): method parameter `IntersectAsync`, `SubtractAsync`, `UnionAsync`
- [InsertService](https://rapi.sleaze.dev/classes/InsertService.md): method parameter `CreateMeshPartAsync`
- [TriangleMeshPart](https://rapi.sleaze.dev/classes/TriangleMeshPart.md): property `CollisionFidelity`
- [UGCValidationService](https://rapi.sleaze.dev/classes/UGCValidationService.md): method parameter `ResetCollisionFidelity`, `ResetCollisionFidelityWithEditableMeshDataLua`
