We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I encounter a problem as executing intro7.py
AttributeError Traceback (most recent call last) Input In [3], in <cell line: 10>() 8 body.position = (350, 100) 9 circle = pymunk.Circle(body, radius=20) ---> 10 joint = pymunk.constraint.PinJoint(space.static_body, body, (200, 200)) 12 space.add(body, circle, joint) 14 App().run() AttributeError: module 'pymunk' has no attribute 'constraint'
which I believe that the examples in introduction that containt
joint = pymunk.constraint.PinJoint()
should be corrected to
joint = pymunk.constraints.PinJoint()
as in pymunk/constraints, since it is missing the s.
s
The intro8.py and intro9.py must also be corrected.
I have submitted a pull request for this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I encounter a problem as executing intro7.py
which I believe that the examples in introduction that containt
should be corrected to
as in pymunk/constraints, since it is missing the
s
.The intro8.py and intro9.py must also be corrected.
I have submitted a pull request for this.
The text was updated successfully, but these errors were encountered: