API:Class/PartOperation/CollisionFidelity

CollisionFidelity

Not Accessible Security: This member cannot be accessed by any Lua code. Any attempts to do so will throw an error. You might be able to change it's value from Roblox Studio's property window.
Property of Object Icon.pngPartOperation
There are members of the same name. See the disambiguation page.

Value Type: CollisionFidelity
Description: Determines how similar the collision model of this solid model is, compared to the actual geometry of the solid model.

Collision detection is expensive to compute, so Roblox uses approximate convex decomposition by default to handle collisions with solid models.

Example

Here is an example of an igloo, made with solid modeling.

CollisionFidelityExample.png


Depending on the CollisionFidelity selected, this is what the actual collision model of the igloo looks like:

Default Hull Box
CollisionFidelityExample Default.png CollisionFidelityExample Hull.png CollisionFidelityExample Box.png

You can view the collision model of a solid model by toggling ShowDecompositionGeometry under the Physics tab in Roblox Studio's settings menu.