Presolve value generated when onContactPreSolve called.
More...
#include <CCPhysicsContact.h>
Presolve value generated when onContactPreSolve called.
float getFriction |
( |
| ) |
const |
Get friction between two bodies.
Get friction between two bodies.
Get friction between two bodies.
float getRestitution |
( |
| ) |
const |
Get restitution between two bodies.
Get restitution between two bodies.
Get restitution between two bodies.
Vec2 getSurfaceVelocity |
( |
| ) |
const |
Get surface velocity between two bodies.
var getSurfaceVelocity |
( |
| ) |
|
Get surface velocity between two bodies.
local getSurfaceVelocity |
( |
| ) |
|
Get surface velocity between two bodies.
Ignore the rest of the contact presolve and postsolve callbacks.
Ignore the rest of the contact presolve and postsolve callbacks.
Ignore the rest of the contact presolve and postsolve callbacks.
void setFriction |
( |
float |
friction | ) |
|
var setFriction |
( |
var |
friction | ) |
|
local setFriction |
( |
local |
friction | ) |
|
void setRestitution |
( |
float |
restitution | ) |
|
var setRestitution |
( |
var |
restitution | ) |
|
local setRestitution |
( |
local |
restitution | ) |
|
void setSurfaceVelocity |
( |
const Vect & |
velocity | ) |
|
Set the surface velocity.
var setSurfaceVelocity |
( |
var |
velocity | ) |
|
Set the surface velocity.
local setSurfaceVelocity |
( |
local |
velocity | ) |
|
Set the surface velocity.
The documentation for this class was generated from the following file: