-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
crash on collision #9
Comments
I'm actually working on upgrading Hipmunk to Chipmunk 6.2.2. After some initial testing, the above code actually works with 6.2.2. Hopefully I'll be able to submit a pull request soon. |
Is this project still active? Chipmunk is already upgraded to 7.0 version. |
Not really, sorry. It's a lot of effort to maintain it and I don't have interest in spending the time anymore. |
Well. It still works well with lts-8.18. |
I'm using Hipmunk together with the Arrow-based FRP GUI package UISF: https://github.com/dwincort/UISF
Basically UISF is used to draw stuff onto the screen while Hipmunk does the number crunching. However, whenever a collision happens in the sample code below, Hipmunk crashes because a pointer passed to
cpCollideShapes
is not valid.I have verified that HipmunkPlayground works fine in my environment (OSX 10.10.3, GHC 7.8.4), so it shouldn't be a bad installation.
You should be able to compile and run the code below, and if you remove the line that adds the static line segment, the program will not crash:
The text was updated successfully, but these errors were encountered: