cpSegmentQueryInfo

Segment query info struct.

struct cpSegmentQueryInfo {}

Members

Variables

n
cpVect n;

The normal of the surface hit.

shape
cpShape* shape;

The shape that was hit, null if no collision occured.

t
cpFloat t;

The normalized distance along the query segment in the range [0, 1].

Meta