What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have researched the collision inaccuracies of union operation and came up empty-handed with a different method to use for detection
I am making a plugin with the goal to create grass blades on a Union part. I then want it to test every blade to see if it actually touches the Union. To do this I am using a for loop and the lua GetPartsInPart() function to use the physics engine on every part and detect if it is actually touching the Union.
I am looking for a method that will let me accurately detect if a grass blade is inside of the Union. Any help is appreciated! Thanks!
I intend to use more complex, but still “2D” Unions. Aka More holes, different size holes, different shape holes, etc. TLDR, no it will be different every time during the plugin’s intended application.
Hey, after a couple of days away and some research about the GetPartsInPart() function and Roblox collision I have solved my issue. I eventually found this post:
It detailed a “new” feature that changed how Roblox would calculate collisions on parts by changing the collision fidelity. In my studio here is what I changed on the mesh/union parts. I changed the property from “Default” to “PreciseConvexDecomposition”.