Looking for shattered model.

Official forum for the Chipmunk2D Physics Library.

Looking for shattered model.

Postby lilzz » Tue Jun 14, 2011 6:09 pm

I see the pyramid topple and such. But I like to see shattered model such as hard object hitting the window or ice where it break into many small pieces.
lilzz
 
Posts: 5
Joined: Tue Jun 14, 2011 6:00 pm

Re: Looking for shattered model.

Postby slembcke » Wed Jun 15, 2011 9:01 am

You can use a collision callback to detect when the breakable object is hit and break it into several new ones. There functionality built into Chipmunk to do it for you though.
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: Looking for shattered model.

Postby lilzz » Wed Jun 15, 2011 1:27 pm

is there any example outthere?
lilzz
 
Posts: 5
Joined: Tue Jun 14, 2011 6:00 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 0 guests

cron