Issues with Polyline (oF 0.8)
outsidecontext opened this issue · comments
Hey,
I'm getting weird issues with polylines with oF 0.8 on OSX. It looks like the number of points is being capped at about 3, resulting in only a small section of the line being created. I've fixed it by caching the size() in ofxBox2dPolygon::create. I'll fork and add the fix. Is anyone else able to recreate this?
Strange. This was the issue I was having back when I updated the library to
2.3
Not sure why you are getting this in 0.8.
What settings are you setting for your ofxBox2dPolgyon? Chain? Loop?
It seems the polygon should actually be 3-16 points. The define was changed
in this wrappers library to 64.
I modified the ofxBox2dPolygon in the 2.3 branch to work with the right
Box2d structure for a polygon larger than that.
-Dan
I am working on upgrading box2d to 2.3. I need to rework a few things due to the addition of the b2dEdgeShape. Ill post soon