Holds collision information from segment queries. You should never need to create one. More...
#import <ChipmunkShape.h>
Public Member Functions | |
| (id) | - initWithStart:end: |
Properties | |
| cpSegmentQueryInfo * | info |
| Returns a pointer to the underlying cpSegmentQueryInfo C struct. | |
| ChipmunkShape * | shape |
| The ChipmunkShape found. | |
| cpFloat | t |
| The percentage between the start and end points where the collision occurred. | |
| cpVect | normal |
| The normal of the collision with the shape. | |
| cpVect | point |
| The point of the collision in absolute (world) coordinates. | |
| cpFloat | dist |
| The distance from the start point where the collision occurred. | |
| cpVect | start |
| The start point. | |
| cpVect | end |
| The end point. | |
Holds collision information from segment queries. You should never need to create one.
1.7.1