Search Unity

Question Remove plane triangle on which a sphere collided?

Discussion in 'General Graphics' started by indie6, May 31, 2023.

  1. indie6

    indie6

    Joined:
    Dec 15, 2012
    Posts:
    101
    Hi,

    I want to remove the triangle of a plane when a sphere hits the plane's mesh collider, what steps do I need to perform for that? Is it as simple as detecting the area where the collision happen, then remove the vertices and indices of that triangle from the mesh? Thank you!