Intersector.intersectSegmentPolygon seems to be giving different results
Summary A user reported inconsistent behavior with Intersector.intersectSegmentPolygon during pathfinding graph generation. In one context (debug rendering), line-of-sight checks between nodes succeeded, but in the primary logic path (inside pathFromTo), they failed, preventing path calculation. The root cause was mutable object state being altered by method calls, specifically the side effects of Polygon.setPosition. This caused … Read more