chipmunk crashes when shapes collide

Official forum for the Chipmunk2D Physics Library.

chipmunk crashes when shapes collide

Postby Yoshi65 » Sun Aug 02, 2009 11:43 am

Hi,
I have a square that falls and when it hits a static segmented shape that i use for the ground I get a GDB: Loading in to Debugger message and the the program freezes
thank you for any help,
Yoshi65
Yoshi65
 
Posts: 2
Joined: Sun Aug 02, 2009 11:34 am

Re: chipmunk crashes when shapes collide

Postby maximile » Sun Aug 02, 2009 12:06 pm

Make sure you cpInitChipmunk before you do anything else. Make sure any collision functions you set are real.
maximile
 
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK

Re: chipmunk crashes when shapes collide

Postby Yoshi65 » Sun Aug 02, 2009 12:41 pm

Thank You soo much for some reason I didn't cpInitChipmunk.
Thanks Again,
Alex
Yoshi65
 
Posts: 2
Joined: Sun Aug 02, 2009 11:34 am


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 0 guests