HitTest (2D Segment) bug when Phase not Zero

If the Phase input to HitTest (2D Segment) is non-zero, it does not return a hit for the entire segment. In the attached patch (DX11 so the Segment and HitTest nodes take the same inputs for clarity) when “Trouble” is on and phase is non-zero, moving the cursor over the upper right part of the segment is not detected. When it is off and phase is zero, the entire segment returns a hit.

HitTest2DSegmentBug.v4p (12.3 KB)

when posting bugs regarding specific nodes please use the tooltip on the node in the nodebrowser to check for the author of the node and mention them here. in this case it goes @vux

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.