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

Merge faces option doesn't affect on actual mesh model

Discussion in 'World Building' started by Norbinarius, Jan 13, 2019.

  1. Norbinarius

    Norbinarius

    Joined:
    Jan 4, 2017
    Posts:
    1
    I created cube shape, then selected face and subdivided it few times. After all i merged faces to avoid excess geometry, but it has no affect on actual geometry of mesh. Did i something wrong?
    upload_2019-1-13_20-16-3.png

    upload_2019-1-13_20-16-24.png
     
  2. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Hi! "Merge Faces" does not remove vertices or edges, it just converts the faces to a single polygon (face). Sorry for any confusion there- and yes we will definitely add this as an option and separate tooling in the near future :)
     
  3. qq294716498

    qq294716498

    Joined:
    Jun 20, 2017
    Posts:
    4
    Can "Merge Faces" be used in Runtime ?
     
  4. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
  5. Prakash1206

    Prakash1206

    Joined:
    Jun 21, 2019
    Posts:
    6
    @gabrielw_unity, i don't see an option to merge face in runtime.
    from probuilder window, "Merge Face" option works well. [i'm using ProBuilder version 4.1.12]
    is there any example to Merge Face from script?

    from ProBuilder Mesh, we can use AppendFaces method but Merge Face seems to be missing..

    in source code i noticed below code for "Merge Face" button
    Face face = MergeElements.Merge(pb, pb.selectedFacesInternal);
     
  6. DromoDesigner

    DromoDesigner

    Joined:
    Mar 27, 2016
    Posts:
    73
    Hi - I wonder if there is any update on this - is there any way to remove vertices from faces merged at runtime?

    Even some sort of hack or work-around would be appreciated.