monsharen / build-engine-unity

Implementation of Build Engine features in Unity
2 stars 1 forks source link

Fix broken ceilings #13

Closed bgaesslein closed 9 months ago

bgaesslein commented 9 months ago

Using reverse() to flip the vertices and uv lists leads to holes in the ceiling. To remedy this, I instead use the Vector3 Scale function to mirror the whole plane and then adjust the y-value because it is being mirrored along the horizontal-zero-plane.

bgaesslein commented 9 months ago

There are still some ceilings with small gaps but in those rooms the floor also has a gap in the same place. So some further debugging is in order. Most ceilings are fixed tho.