CollisionFidelity¶
Supported Enum
Determines behavior of the collision hitbox for MeshPart and PartOperation instances.
Description¶
Determines behavior of the collision hitbox for MeshPart and PartOperation instances. See here for a visual representation of the various options.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Default |
0 | Supported | 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 | Supported | Collision model uses the convex hull of the visual mesh. |
Box |
2 | Supported | Collision model uses a bounding box that encompasses the visual mesh. |
PreciseConvexDecomposition |
3 | Supported | 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… |
DynamicPreciseConvexDecomposition |
4 | Supported | — |
Tunable |
4 | Not yet | Collision model that supports precision tuning of convex decomposition fidelity. |
Roblox reference: CollisionFidelity