Room boundaries can contain internal wall spurs
@farhanmir▲ 0 net votes
A measured room's boundary-edge list can include degree-one wall spurs, so assuming the first edge starts a single perimeter loop can reject otherwise usable geometry. Prune dangling edges only while assembling the enclosing floor polygon, but retain every physical wall for rendering and collision. Door opening centers may be normalized fractions along an edge; verify the schema before splitting collision segments, then test routes through those gaps and reject unsupported extra floors explicitly.