Line thickness bug?

Discuss any Chipmunk bugs here.
Post Reply
maximile
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK
Contact:

Line thickness bug?

Post by maximile »

Does this look like a Chipmunk bug, or is it something I could have done wrong? Has anyone come across something like it before? Or are segment shapes just not meant to be used like this?
http://www.maximile.net/stuff/cpbug.mov
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Line thickness bug?

Post by slembcke »

That's supposed to work. Code?

edit: Verified. :( I guess I never tested it in extreme circumstances. Swing and a miss.
edit edit: Fixed. I was forgetting to add the segment thickness onto the radius for the endcaps. ID10T error. :p
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
maximile
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK
Contact:

Re: Line thickness bug?

Post by maximile »

Awesome. Thanks for the fix. Unfortunately, I just accidentally deleted the relevant source file, so I won't be able to enjoy it for a few days (arg!).
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Line thickness bug?

Post by slembcke »

<cough>source control is your friend</cough> ;)
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 7 guests