Manual:

Tutorials:

API:

ChipmunkNearestPointQueryInfo

Struct

Used with @Chipmunk.NearestPointQueryNearest()@.


Variables


pointThe nearest point on the shapes's surface to the query point.
distanceThe distance of the query point to the nearest point.
gradientThe normalized direction from the query point to the closest point on the shape's surface.
shapeThe shape that was nearest to the query point.