Search Unity

Combine Mesh

Discussion in 'Scripting' started by Nosada, Feb 13, 2019.

  1. Nosada

    Nosada

    Joined:
    Aug 6, 2013
    Posts:
    69
    Hello,
    I am trying to figure out how to combine mesh. I have followed the code example from Unity's documentation (https://docs.unity3d.com/ScriptReference/Mesh.CombineMeshes.html); however I am not getting the expected results.I am fairly certain the issue is pertaining to the transform of the combined mesh, specifically this line [
    combine.transform = meshFilters.transform.localToWorldMatrix;]
    Does anyone know about this?