Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to Cut any GameObject in runtime with mouse ?

Discussion in 'Physics' started by rajkanjariya, Jan 31, 2023.

  1. rajkanjariya

    rajkanjariya

    Joined:
    Dec 14, 2022
    Posts:
    3
    I want to cut gameobject at runtime into multiple shapes, i made a R&D on unity Physics but i couldn't find any example related to cutting a object into into different shapes, please provide a link or tell me some way using which i can cut object into different shapes. i want to do this via simple script. i don't want to use assets from store or not any addons. is it possible or not ????
    please me to out off this....
    Thanking You
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    Is it possible, of course it is.

    What do you mean exactly with cut into shapes?
    Just slice objects? Or cutout shapes (like a star) from a plane? Or something else?
     
    rajkanjariya likes this.
  3. rajkanjariya

    rajkanjariya

    Joined:
    Dec 14, 2022
    Posts:
    3
    slice objects
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
  5. rajkanjariya

    rajkanjariya

    Joined:
    Dec 14, 2022
    Posts:
    3
    Dear Sir, I tried my best but i can't understand what code going in this script is any videos or other tutorials for this. please help me..
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    What doesn't work exactly?
    You say you want to do it yourself, without assets, but if you cannot understand it maybe try an asset