A colliding pair of shapes. More...
#include <cpArbiter.h>
Public Attributes | |
| cpFloat | e |
| Calculated value to use for the elasticity coefficient. More... | |
| cpFloat | u |
| Calculated value to use for the friction coefficient. More... | |
| cpVect | surface_vr |
| Calculated value to use for applying surface velocities. More... | |
| cpDataPointer | data |
| User definable data pointer. More... | |
A colliding pair of shapes.
| cpDataPointer cpArbiter::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.
| cpFloat cpArbiter::e |
Calculated value to use for the elasticity coefficient.
Override in a pre-solve collision handler for custom behavior.
| cpVect cpArbiter::surface_vr |
Calculated value to use for applying surface velocities.
Override in a pre-solve collision handler for custom behavior.
| cpFloat cpArbiter::u |
Calculated value to use for the friction coefficient.
Override in a pre-solve collision handler for custom behavior.
1.8.3.1