Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to erase a part of Sprite.

Discussion in 'General Graphics' started by NidoAnxari, Jun 8, 2017.

  1. NidoAnxari

    NidoAnxari

    Joined:
    Jan 2, 2017
    Posts:
    86
    If someone played Worms game, in this game if a bomb explodes near a sprite a circle of that ground in contact with the explosion is removed. Is there any way to do so?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    theANMATOR2b likes this.
  3. NidoAnxari

    NidoAnxari

    Joined:
    Jan 2, 2017
    Posts:
    86
  4. Siliko

    Siliko

    Joined:
    Sep 7, 2020
    Posts:
    8
    I did it by making the sky a composite collider with void inside and adding to it circle collider at each explosions