b2PolygonShape.vertices: count >= 3
Closed this issue · 3 comments
NotAnyMike commented
todo:
- Check solution (check if there is any error of this kind with this kind
Error when polygons are not clockwise.
Example of some of those vertices
Failed on kwargs for b2PolygonShape.vertices: count >= 3
[(223.67946732694708, -62.63779070627396), (210.45542380129103, -60.93413269794843), (210.45542380129103, -60.93413269794843), (210.45542380129103, -60.93413269794843)]
NotAnyMike commented
The main problem is that 3 or more points have the same coordinates, therefore a set of tuples of points will solve this problem
NotAnyMike commented
So far I have train different models for 6m steps in total and I havent had this error again, not event the msg of the solution working, so it was solved by something modified before or it is still there but now it is much more rare. This issue will remain open until I am more sure about it
NotAnyMike commented
Looks like the problem has been solved, more than 10 million steps haven't come across it. closing this issue