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
The issue is caused by the Segment-related collision functions. They call cpBodyGetRotation() without checking if shape.body is not NULL.
cpBodyGetRotation()
shape.body
NULL
Since cpSpaceShapeQuery suggests that using using cpShape with NULL body is ok, crashing for Segment shapes seems like a buggy behaviour.
cpSpaceShapeQuery
cpShape
Segment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The issue is caused by the Segment-related collision functions. They call
cpBodyGetRotation()
without checking ifshape.body
is notNULL
.Since
cpSpaceShapeQuery
suggests that using usingcpShape
withNULL
body is ok, crashing forSegment
shapes seems like a buggy behaviour.The text was updated successfully, but these errors were encountered: