Chipmunk  6.0.3
Chipmunk API Reference for Kobold2D developers
cpArbiter Struct Reference

A colliding pair of shapes. More...

#include <cpArbiter.h>

Collaboration diagram for cpArbiter:

Public Member Functions

 CP_PRIVATE (cpShape *a)
 CP_PRIVATE (cpShape *b)
 CP_PRIVATE (cpBody *body_a)
 CP_PRIVATE (cpBody *body_b)
 CP_PRIVATE (struct cpArbiterThread thread_a)
 CP_PRIVATE (struct cpArbiterThread thread_b)
 CP_PRIVATE (int numContacts)
 CP_PRIVATE (cpContact *contacts)
 CP_PRIVATE (cpTimestamp stamp)
 CP_PRIVATE (cpCollisionHandler *handler)
 CP_PRIVATE (cpBool swappedColl)
 CP_PRIVATE (cpArbiterState state)

Data Fields

cpFloat e
cpFloat u
cpVect surface_vr
 Override in a pre-solve collision handler for custom behavior.

Detailed Description

A colliding pair of shapes.


Member Function Documentation

cpArbiter::CP_PRIVATE ( cpShape a)
cpArbiter::CP_PRIVATE ( cpShape b)
cpArbiter::CP_PRIVATE ( cpBody body_a)
cpArbiter::CP_PRIVATE ( cpBody body_b)
cpArbiter::CP_PRIVATE ( struct cpArbiterThread  thread_a)
cpArbiter::CP_PRIVATE ( struct cpArbiterThread  thread_b)
cpArbiter::CP_PRIVATE ( int  numContacts)
cpArbiter::CP_PRIVATE ( cpContact contacts)
cpArbiter::CP_PRIVATE ( cpTimestamp  stamp)
cpArbiter::CP_PRIVATE ( cpCollisionHandler handler)
cpArbiter::CP_PRIVATE ( cpBool  swappedColl)
cpArbiter::CP_PRIVATE ( cpArbiterState  state)

Field Documentation

Calculated value to use for the elasticity coefficient. Override in a pre-solve collision handler for custom behavior.

Override in a pre-solve collision handler for custom behavior.

Calculated value to use for applying surface velocities.

Calculated value to use for the friction coefficient. Override in a pre-solve collision handler for custom behavior.


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