Thickening walls?

Official forum for the Chipmunk Physics Library.

Thickening walls?

Postby visionthing on Sun Feb 07, 2010 2:55 am

Hello all,

Do you know how I could thicken the walls made using Chipmunk's segments? Now the ball I'm moving moves through the walls from time to time. ;)

Cheers!
visionthing
 
Posts: 8
Joined: Thu Feb 04, 2010 6:52 am

Re: Thickening walls?

Postby visionthing on Sun Feb 07, 2010 3:32 am

Sorry, I didn't notice that it's so easy.

Just define the radius of the segment and that's it.

(Or please correct me if I'm wrong.)
visionthing
 
Posts: 8
Joined: Thu Feb 04, 2010 6:52 am

Re: Thickening walls?

Postby slembcke on Sun Feb 07, 2010 10:48 am

Yup. They have a radius parameter that lets you make them into pill shapes.
I'm the guy that wrote Chipmunk. Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 1502
Joined: Tue Aug 14, 2007 7:13 pm


Return to Chipmunk Physics

Who is online

Users browsing this forum: MSN [Bot] and 2 guests

cron