Detect touching bodies via Objective-Chipmunk

Official forum for the Chipmunk2D Physics Library.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Detect touching bodies via Objective-Chipmunk

Post by slembcke »

Contacts from static bodies to dynamic bodies are tracked in the contact graph. I suspect that there is an issue with how you made it recursive. Did you do a depth first traversal of the contacts? How are you ensuring that you don't attempt to delete bodies in the graph more than once? Are you checking if bodies are rogue (such as static bodies) before attempting to remove them?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Heise IT-Markt [Crawler] and 7 guests