- Home /
Is there is any way to cut a Primitive object when I touch with mouse.
I am creating a kind of fruit ninja clone in which the fruits raise upwards and fall down. Right now I have taken a primitive object sphere through script and giving some force upwards and adding rigidbody component to it. Now When I touch the sphere I want to slice it down exactly in the middle and make it to two different parts. Is it possible in Unity?
Although it might be possible for to create a mesh through coding and slicing it , I want to know whether this works.
Thanks in Advance.
http://forum.unity3d.com/threads/95979-Shatter-Toolkit might be something for you,unfortunately it's not free. You could try coding something yourself, but that will take some time.
If you always plan on "slicing" the object in half, then wouldn't the easiest solution be to just have two versions of the model? A whole one and another sliced one where you simply switch to the other when the slicing is done?
I'm just not sure which one would be less resource heavy... splitting objects during runTime or switching out the models..)
Answer by eddyzy · Sep 06, 2013 at 10:33 AM
http://forum.unity3d.com/threads/70791-Cutting-Game-objects
http://forum.unity3d.com/threads/57994-Simple-Fracture-Script-v-1-01?highlight=cut%20gameobject
read these
Answer by roojerry · Sep 06, 2013 at 10:36 AM
Can be done, and has been done. Turbo Slicer is an example of an Asset Store package that can do it for you
Your answer
