MontyTRC89 / Tomb-Editor

Tomb Editor
57 stars 16 forks source link

Portal bug if room connection has a slope and a 1-click square from ceiling. #823

Open diebasis72 opened 4 months ago

diebasis72 commented 4 months ago

In TE when you have a portal between two rooms and one room has a slope and the other has a 1-click square from the ceiling, the portal connection isn't done properly? (see screenshot)

TE is Version 1.7.

portalbug

Here is also a short .prj2 file which shows the problem:

Portal_bug.zip

Nickelony commented 4 months ago

Before 1.7, this would be considered impossible geometry. I'm not sure if this can be fixed, considering how portals are handled within the geometry code.

I will have a look into it regardless. Thanks for reporting!

Nickelony commented 1 month ago

While refactoring geometry code, I made a small discovery and this type of geometry is actually possible now: image image

I don't think this feature will make it to 1.7.2 though, but it's definitely in the works! :)