cpArbiter

A colliding pair of shapes.

Members

Variables

a
cpShape* a;
Undocumented in source.
a
cpShape* a;
Undocumented in source.
b
cpShape* b;
Undocumented in source.
b
cpShape* b;
Undocumented in source.
body_a
cpBody* body_a;
Undocumented in source.
body_a
cpBody* body_a;
Undocumented in source.
body_b
cpBody* body_b;
Undocumented in source.
body_b
cpBody* body_b;
Undocumented in source.
contacts
cpContact* contacts;
Undocumented in source.
contacts
cpContact* contacts;
Undocumented in source.
data
cpDataPointer data;

User definable data pointer. The value will persist for the pair of shapes until the separate() callback is called. NOTE: If you need to clean up this pointer, you should implement the separate() callback to do it.

e
cpFloat e;

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

handler
cpCollisionHandler* handler;
Undocumented in source.
handler
cpCollisionHandler* handler;
Undocumented in source.
numContacts
int numContacts;
Undocumented in source.
numContacts
int numContacts;
Undocumented in source.
stamp
cpTimestamp stamp;
Undocumented in source.
stamp
cpTimestamp stamp;
Undocumented in source.
state
cpArbiterState state;
Undocumented in source.
state
cpArbiterState state;
Undocumented in source.
surface_vr
cpVect surface_vr;

Calculated value to use for applying surface velocities. Override in a pre-solve collision handler for custom behavior.

swappedColl
cpBool swappedColl;
Undocumented in source.
swappedColl
cpBool swappedColl;
Undocumented in source.
thread_a
cpArbiterThread thread_a;
Undocumented in source.
thread_a
cpArbiterThread thread_a;
Undocumented in source.
thread_b
cpArbiterThread thread_b;
Undocumented in source.
thread_b
cpArbiterThread thread_b;
Undocumented in source.
u
cpFloat u;

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

Meta