Gears fails throw (Plink example)

Discuss any Chipmunk bugs here.
Post Reply
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Gears fails throw (Plink example)

Post by aisman »

Why:
The gears are failing throw the triangles.
Gears using the same parameters as the orginal falling polygons:
But see screenshot...any idea?
Image
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Gears fails throw (Plink example)

Post by slembcke »

Concave polygons are not supported. If you have Chipmunk compiled in debug mode, you would be getting an error when creating the shape.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Gears fails throw (Plink example)

Post by aisman »

Thanks for hint.
I will add a 'debug' binding too.
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Gears fails throw (Plink example)

Post by aisman »

slembcke wrote:Concave polygons are not supported. If you have Chipmunk compiled in debug mode, you would be getting an error when creating the shape.
@slembcke
I never got this error. Can you tell me the source line were the 'Check' is?
Thanks.
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Gears fails throw (Plink example)

Post by slembcke »

In cpPolyShapeInit() (which is called from cpPolyShapeNew()).

http://code.google.com/p/chipmunk-physi ... hape.c#196
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 24 guests