Open davl3232 opened 4 years ago
Thank you for the bug report and extensive information! I will investigate to see whats going on.
I also have this problem, it doesn't happen with threading branch. Check the List<Vector3> intPoints
and with the same model, the master branch has a count of 0. It mainly happens with complex geometry.
It may also be processing well, but you have forgotten to place a material. That is, not even this slot is available in the MeshRenderer, only 1, (the visible material).
Hey, guys. I also have the same problem and i found the reason, why this happens. @DavidArayan, Maybe it will help you fix them. This happens, when cutting plane exactly crosses one or more vertexes of a mesh. For example, i have a fruit cutting game, and i replaced my mesh with unity standard primitive cube. I turned my cube mesh to 45 degrees and set cutting plane position exactly in the middle of a cube just like on screenshot. And i sliced this.
UP: i use last framework version with my Unity 2020.3.1f1 UP2: We love your framework so much, David.
anyone fixed this?
Anybody?)
Slicing a sphere created with Unity's right click>3D Object>Sphere, with identity transform with
planeWorldPosition = Vector3.zero
andplaneWorldDirection = Vector3.right
results in hemisphere meshes with holes.When I rotate the sphere 5 degrees along the y axis, it doesn't happen.
This happens in master at commit https://github.com/DavidArayan/ezy-slice/commit/b93d68c24371a1fc7c7f0c3b70bd85ac28d950b0 Unity Version 2019.3.5f1 (d691e07d38ef) Personal
This doesn't happen on release 1.0.0
Script used for slicing:
PD: Thank you for making this project!