Neighbours for ChipmunkSegmentShape

Official forum for the Chipmunk2D Physics Library.
Post Reply
Colin Gilbert
Posts: 3
Joined: Wed Jul 10, 2013 1:31 pm
Contact:

Neighbours for ChipmunkSegmentShape

Post by Colin Gilbert »

Hi,

Can a ChipmunkSegmentShape have multiple previous and/or next neighbours? I wish to implement a structure similar to a spider's web.

Thanks!
Coiln
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Neighbours for ChipmunkSegmentShape

Post by slembcke »

No, the neighbors property is only to avoid colliding with the ends of segments when you have a lot of them joined together. Otherwise if you make terrain using a chain of segments, it's possible to get caught on the "cracks" between the segments.
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 20 guests