#include <CCPhysicsContact.h>
| float getFriction |
( |
| ) |
const |
get friction between two bodies
| float getRestitution |
( |
| ) |
const |
get restitution between two bodies
| Vec2 getSurfaceVelocity |
( |
| ) |
const |
get surface velocity between two bodies
ignore the rest of the contact presolve and postsolve callbacks
| void setFriction |
( |
float |
friction | ) |
|
| void setRestitution |
( |
float |
restitution | ) |
|
| void setSurfaceVelocity |
( |
const Vect & |
velocity | ) |
|
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/physics/CCPhysicsContact.h