You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will not be able to generate a mesh if you change the third vertex in the second inner shape to something like Vector3(0.98f, 0, 0.8f). It's working fine if you change the third coordinate to new Vector3(0.98f, 0, 0.79999f), so there might be some floating point precision issues going on somewhere?
The text was updated successfully, but these errors were encountered:
The outer shape is:
List outerShapePoints = new List();
outerShapePoints.Add(new Vector3(0, 0, 0));
outerShapePoints.Add(new Vector3(0, 0, 1));
outerShapePoints.Add(new Vector3(1, 0, 1));
outerShapePoints.Add(new Vector3(1, 0, 0));
The two inner shapes are:
List shape = new List();
shape.Add(new Vector3(0.2f, 0, 0.2f));
shape.Add(new Vector3(0.2f, 0, 0.8f));
shape.Add(new Vector3(0.4f, 0, 0.8f));
shape.Add(new Vector3(0.4f, 0, 0.2f));
innerShapes.Add(shape);
shape = new List();
shape.Add(new Vector3(0.6f, 0, 0.2f));
shape.Add(new Vector3(0.6f, 0, 0.8f));
shape.Add(new Vector3(0.96f, 0, 0.8f));
shape.Add(new Vector3(0.8f, 0, 0.2f));
innerShapes.Add(shape);
It looks like this:

It will not be able to generate a mesh if you change the third vertex in the second inner shape to something like Vector3(0.98f, 0, 0.8f). It's working fine if you change the third coordinate to new Vector3(0.98f, 0, 0.79999f), so there might be some floating point precision issues going on somewhere?
The text was updated successfully, but these errors were encountered: