Closed pearsonkyle closed 10 years ago
Hello,
First of all, thanks for finding this issue and taking a shot at fixing it!
Could you try the chipmunk6.2 branch. I have fixed get_vertices in this branch.
To give some explanation as to why I did not go in the same direction as this PR:
Hey,
Thanks for the fix! Everything is working just fine now.
Hi,
I wasn't able to properly retrieve the vertices for a polygon shape due to some operations not being supported by the cpVect class (or Vec2d), so I hacked in a solution (check shape.pxi and core.pxi). Before you test my build please run the kivy_demo.py in the examples folder to see if your build will work, hopefully it should raise some errors and then test my new build.
Thank you for you time, I'm happy to answer any questions.
The issue was that the Vec2d '+' operator didn't want to work in my cymunk build (possibly because my cymunk build was older?) Also when trying to rotate the vectors to get the proper vertices there was no cpvrotate function.