Chipmunk2D Pro API Reference  7.0.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Properties | List of all members
ChipmunkSegmentQueryInfo Class Reference

Holds collision information from segment queries. You should never need to create one. More...

#import <ChipmunkShape.h>

Inherits NSObject.

Properties

cpSegmentQueryInfoinfo
 Returns a pointer to the underlying cpSegmentQueryInfo C struct.
 
ChipmunkShapeshape
 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.
 

Detailed Description

Holds collision information from segment queries. You should never need to create one.


The documentation for this class was generated from the following file: