Chipmunk  6.0.1
Chipmunk API Reference for Kobold2D developers
cpContactPointSet Struct Reference

A struct that wraps up the important collision data for an arbiter. More...

#include <cpArbiter.h>

Collaboration diagram for cpContactPointSet:

Data Fields

int count
 The number of contact points in the set.
struct {
   cpVect   point
 The position of the contact point.
   cpVect   normal
 The normal of the contact point.
   cpFloat   dist
 The depth of the contact point.
points [CP_MAX_CONTACTS_PER_ARBITER]
 The array of contact points.

Detailed Description

A struct that wraps up the important collision data for an arbiter.


Field Documentation

The number of contact points in the set.

The depth of the contact point.

The normal of the contact point.

The position of the contact point.

struct { ... } cpContactPointSet::points[CP_MAX_CONTACTS_PER_ARBITER]

The array of contact points.


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