Bizarro Collisions

Official forum for the Chipmunk2D Physics Library.

Bizarro Collisions

Postby pirateNarwhal » Thu May 21, 2009 1:03 am

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

Re: Bizarro Collisions

Postby slembcke » Thu May 21, 2009 1:37 am

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

Re: Bizarro Collisions

Postby pirateNarwhal » Thu May 21, 2009 11:53 am

oh wow. Thank you.
pirateNarwhal
 
Posts: 4
Joined: Thu May 21, 2009 12:52 am


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 13 guests

cron