Chipmunk2D Pro API Reference
7.0.1
|
Segment query info struct. More...
#include <cpShape.h>
Public Attributes | |
const cpShape * | shape |
The shape that was hit, or NULL if no collision occured. | |
cpVect | point |
The point of impact. | |
cpVect | normal |
The normal of the surface hit. | |
cpFloat | alpha |
The normalized distance along the query segment in the range [0, 1]. | |
Segment query info struct.