chipmunk crashes when shapes collide

Official forum for the Chipmunk2D Physics Library.
Post Reply
Yoshi65
Posts: 2
Joined: Sun Aug 02, 2009 11:34 am
Contact:

chipmunk crashes when shapes collide

Post by Yoshi65 »

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
maximile
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK
Contact:

Re: chipmunk crashes when shapes collide

Post by maximile »

Make sure you cpInitChipmunk before you do anything else. Make sure any collision functions you set are real.
Yoshi65
Posts: 2
Joined: Sun Aug 02, 2009 11:34 am
Contact:

Re: chipmunk crashes when shapes collide

Post by Yoshi65 »

Thank You soo much for some reason I didn't cpInitChipmunk.
Thanks Again,
Alex
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests