"The current thread cannot write 'CollisionFidelity' (lacking capability Plugin)"

Whenever I try to change the collision fidelity of my union so that player doesn’t float above the empty hole I get this error. I have no idea what it means for my scenario or how to fix it.
Here is my code

local newUnion = v:SubtractAsync(unionDelateTable)
newUnion.CollisionFidelity = Enum.CollisionFidelity.PreciseConvexDecomposition
newUnion.Parent = toSpawn
1 Like

You can’t set the collision fidelity of parts at runtime by indexing the part like that, you have to pass the CollisionFidelity as the second parameter of SubtractAsync (so v:SubtractAsync(unionDelateTable, Enum.CollisionFidelity.PreciseConvexDecomposition)

Optionally you can also pass a RenderFidelity as a third param

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.