instances of a mesh modified independently

Hi there,

Here is my question,

I have a surface made up of several types of meshes (plain, mountain,…)
Each type of mesh may appear several times to create the surface.
This surface will be travelled by a wave which will modify the vertex’s height axis of the meshes dynamically.

I use the GetComponent().mesh method to access and modify the meshes vertices

My problem is that the master mesh is directly modified so that every instance of the mesh reproduce the same portion of the wave, instead of being a part of the main wave. Don’t know if i’m clear, please look at picture below…

Wrong result:
1639125--101541--$01.jpg

What I want:
1639125--101542--$02.jpg

Do you know if there is a way to create an instance of the master mesh in order to modify it independently ?

Is it a better way to import a certain quantity of meshes of the same type (mesh001_type01, mesh002_type01,… mesh500_type01), and to call them when needed, in term of computing time and file size…

Thanks for your precious help !

Use Instantiate to instantiate the mesh and modify the instance.

–Eric

Makes sense !

I will dig this way.

Thx