Help with cutting a wedge

Hi! I’m currently trying to create a script to generate a cool lightning effect, however I need to be able to break apart a wedge into a certain number of pieces. Does anyone know how I can accomplish this?

Here’s a photo: here
Basically, I want to be able to break the wedge into three parts, with the cuts being represented by the blue parts in the photo.

Any help is appreciated!

1 Like

You should try using the BrickCutter plugin.

Tried it, it didn’t work for me.

I don’t think it works with wedges. You will need to use geometry to cut the wedge into multiple wedges.

What do you want exactly? Are you trying to make the wedge break in an event? You could use unions to make the parts and anchor them and unanchor them whenever you need to and they will break. You also want to make the CollisionFidelty “preciseconvexdecompozition” (in properties) for the best collision.

I’m trying to create a sort of “part gradient” with the wedge parts, as I would adjust their transparency individually.

the thing i said should work. use unions and check “UsePartColor”

Alright thanks! This should help me a lot with my project!

Does it work? Also again, use Preciseconvexdecompozition for the best collision.

Alrighty, I’m going to try and implement it shortly (the system is going to require a lot of tweaking, so it’ll take some time), however I do believe it will help greatly!

Thanks again!

1 Like

You’re welcome! Always put collision fidelity to preciseconvexdecompozition to get the most accurate collision!

Select Default if your part doesn’t have many holes in it. The best collision isn’t as important as performance.

1 Like