Bizarro Collisions
-
- Posts: 4
- Joined: Thu May 21, 2009 12:52 am
- Contact:
Bizarro Collisions
I recently changed the code on my project from passing objects references to the cpSpace to passing references to an object that contains a cpSpace, and adjusted the functions accordingly. For some reason, after doing this, the colliding objects do not seem to influence each other, but the objects register a collision (ie, explosions when one shape hits another). Has anybody encountered this problem before?
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Bizarro Collisions
So you are using collision callbacks? Are you returning true? (returning false means that Chipmunk should discard the collision)
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 4
- Joined: Thu May 21, 2009 12:52 am
- Contact:
Re: Bizarro Collisions
oh wow. Thank you.
Who is online
Users browsing this forum: No registered users and 19 guests