SegmentShape2D Segment shape for 2D collisions. Segment shape for 2D collisions. Consists of two points, and b. The segment’s first point position. b The segment’s second point position.