Bizarro Collisions

Official forum for the Chipmunk2D Physics Library.
Post Reply
pirateNarwhal
Posts: 4
Joined: Thu May 21, 2009 12:52 am
Contact:

Bizarro Collisions

Post by pirateNarwhal »

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?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Bizarro Collisions

Post by slembcke »

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/
pirateNarwhal
Posts: 4
Joined: Thu May 21, 2009 12:52 am
Contact:

Re: Bizarro Collisions

Post by pirateNarwhal »

oh wow. Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests