# Mesh Clone then Flip Normals

**URL:** <https://forum.babylonjs.com/t/mesh-clone-then-flip-normals/1988>\
**Category:** Questions\
**Created:** [March 19, 2019, 11:58pm UTC](https://forum.babylonjs.com/t/mesh-clone-then-flip-normals/1988 "2019-03-19T23:58:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devin\_Wright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/devin_wright/32/4302_2.png) [@Devin\_Wright](https://forum.babylonjs.com/u/Devin_Wright)\
**Post date:** [March 19, 2019, 11:58pm UTC](https://forum.babylonjs.com/t/mesh-clone-then-flip-normals/1988/1 "2019-03-19T23:58:06Z")

</div>

I am attempting to clone a mesh and then flip the normals of that second mesh.  
[https://www.babylonjs-playground.com/#M4VPSK](https://www.babylonjs-playground.com/#M4VPSK)

However, it seems that cloning isn’t doing the deepest clone, as calling .flipFaces(true) shows both meshes seems to be using the same vertex buffer perhaps?

Is there a way to clone the buffers? The reasoning for this is I am trying to create a tube with a double sided mesh, but I want to update the positions buffer of that tube randomly based on the normal. This works okay for the outer mesh, but the inner mesh I have to flip the normals and it just gets weird/complicated and doesn’t seem to match up perfectly.

–  
I suppose I could just create 2 objects at once and then set one to have a different side orientation, just was hoping a clone would do all of that for me.

---

<div class="post-metadata">

**Author:** ![trevordev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevordev/32/16_2.png) [@trevordev](https://forum.babylonjs.com/u/trevordev)\
**Post date:** [March 20, 2019, 12:26am UTC](https://forum.babylonjs.com/t/mesh-clone-then-flip-normals/1988/2 "2019-03-20T00:26:59Z")

</div>

It looks like you can clone the geometry as well to get your desired behavior, see this playground [https://www.babylonjs-playground.com/#M4VPSK#2](https://www.babylonjs-playground.com/#M4VPSK#2)

---

<div class="post-metadata">

**Author:** ![Gijs](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/gijs/32/44_2.png) [@Gijs](https://forum.babylonjs.com/u/Gijs)\
**Post date:** [March 20, 2019, 6:01am UTC](https://forum.babylonjs.com/t/mesh-clone-then-flip-normals/1988/3 "2019-03-20T06:01:54Z")

</div>

Or  
`tube2.makeGeometryUnique();`
