#include <CCPhysicsContact.h>
Public Member Functions | |
| float | getElasticity () const |
| get elasticity between two bodies More... | |
| float | getFriction () const |
| get friction between two bodies More... | |
| Point | getSurfaceVelocity () const |
| get surface velocity between two bodies More... | |
| void | setElasticity (float elasticity) |
| set the elasticity More... | |
| void | setFriction (float friction) |
| set the friction More... | |
| void | setSurfaceVelocity (const Vect &velocity) |
| set the surface velocity More... | |
| void | ignore () |
| ignore the rest of the contact presolve and postsolve callbacks More... | |
Friends | |
| class | EventListenerPhysicsContact |
| float getElasticity | ( | ) | const |
get elasticity between two bodies
| float getFriction | ( | ) | const |
get friction between two bodies
| Point getSurfaceVelocity | ( | ) | const |
get surface velocity between two bodies
| void ignore | ( | ) |
ignore the rest of the contact presolve and postsolve callbacks
| void setElasticity | ( | float | elasticity) |
set the elasticity
| void setFriction | ( | float | friction) |
set the friction
| void setSurfaceVelocity | ( | const Vect & | velocity) |
set the surface velocity
|
friend |