Detect touching bodies via Objective-Chipmunk
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Detect touching bodies via Objective-Chipmunk
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/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 11 guests