You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, whilst running the code on Python 3.6.3 (Mac) whilst running python3 learning.py I was met with Aborting due to Chipmunk error: Mass must be positive and finite.
Failed condition: 0.0f <= mass && mass < INFINITY
Source:chipmunk_src/src/cpBody.c:257
Do you know how this might be fixed?
Thanks
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Invalid Syntax
Chipmunk abort
Jan 1, 2018
c_body = pymunk.Body(pymunk.inf, pymunk.inf) c_body = pymunk.Body(body_type=pymunk.Body.STATIC)
In previous versions of Pymunk, you used inf to create static bodies. This has changed. See Body for details.
Hi, whilst running the code on Python 3.6.3 (Mac) whilst running python3 learning.py I was met with Aborting due to Chipmunk error: Mass must be positive and finite.
Failed condition: 0.0f <= mass && mass < INFINITY
Source:chipmunk_src/src/cpBody.c:257
Do you know how this might be fixed?
Thanks
The text was updated successfully, but these errors were encountered: