A subclass of ChipmunkSegmentShape that is added as a static shape when using add: (ChipmunkSpace). More...
#import <ChipmunkShape.h>
Inherits ChipmunkSegmentShape.
Additional Inherited Members | |
![]() | |
(id) | - initWithBody:from:to:radius: |
Initialize a segment shape with the given endpoints and radius. | |
(void) | - setPrevNeighbor:nextNeighbor: |
Let Chipmunk know about the geometry of adjacent segments to avoid colliding with endcaps. | |
![]() | |
(id) | + segmentWithBody:from:to:radius: |
Create an autoreleased segment shape with the given endpoints and radius. | |
![]() | |
cpVect | a |
The start of the segment shape. | |
cpVect | b |
The end of the segment shape. | |
cpVect | normal |
The normal of the segment shape. | |
cpFloat | radius |
The beveling radius of the segment shape. | |
A subclass of ChipmunkSegmentShape that is added as a static shape when using add: (ChipmunkSpace).