Chipmunk2D Pro API Reference
7.0.1
|
Holds collision information from segment queries. You should never need to create one. More...
#import <ChipmunkShape.h>
Inherits NSObject.
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.