Greetings. So I just heard that this might be possible to do now, does anyone know if this scenario is possible:
Say for example we have, I don’t know, a potato consisting of multiple parts in a model. Now let’s say, the player has a knife to cut that potato into multiple pieces. The potato is then sliced depending on where the player’s knife hits the potato.
I thought I heard Roblox adding some new service or what-not that works for these kinds of procedures. Is what I just said possible to do without heavy mathematics? And if that’s so, any example on, maybe not this exact thing, but perhaps something similar would be awesome, as I could mess around with it.
Csg api lets you use unions and negations in game. You could cut up a potato made of parts or a union potato, but not a complex one with many triangles, or a mesh.
(Edit: I was typing first!)
Oooh I see. That’s cool! Thanks for the replies, guys.
I’m a complete noob when it comes to this service though, as I’ve never learned to use it. Does anyone have any simple example code for say, how to slice a rectangular brick union into two halves? Or just something simple so I could see how this works.