Update a mesh ShapeGeometry


I am trying to update a mesh shapeGeometry

When moving one of the points, the faces do not get recalculated and so moving one point further then the face will break the mesh.

Is there a way to recalculate the faces when changing the coordinates of a mesh?


Ok I found need to use ShapeUtils.triangulateShape to recalculate triangles

1 Like