Trying to split a body with multiple shapes into multiple bo

Official forum for the Chipmunk2D Physics Library.
Post Reply
echamberlain
Posts: 1
Joined: Tue Mar 30, 2010 11:48 am
Contact:

Trying to split a body with multiple shapes into multiple bo

Post by echamberlain »

I have a body with multiple shapes, when the body collides with a wall, I want the body to break apart into multiple bodies (one for each shape).

Is there a way to return the center of the shape for the new body position?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Trying to split a body with multiple shapes into multiple bo

Post by slembcke »

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: No registered users and 17 guests