#include <b2CircleContact.h>
Public Member Functions | |
b2CircleContact (b2Fixture *fixtureA, b2Fixture *fixtureB) | |
void | Evaluate (b2Manifold *manifold, const b2Transform &xfA, const b2Transform &xfB) |
Evaluate this contact with your own manifold and transforms. More... | |
~b2CircleContact () | |
Public Member Functions inherited from b2Contact | |
int32 | GetChildIndexA () const |
Get the child primitive index for fixture A. More... | |
int32 | GetChildIndexB () const |
Get the child primitive index for fixture B. More... | |
b2Fixture * | GetFixtureA () |
Get fixture A in this contact. More... | |
const b2Fixture * | GetFixtureA () const |
b2Fixture * | GetFixtureB () |
Get fixture B in this contact. More... | |
const b2Fixture * | GetFixtureB () const |
float32 | GetFriction () const |
Get the friction. More... | |
b2Manifold * | GetManifold () |
const b2Manifold * | GetManifold () const |
b2Contact * | GetNext () |
Get the next contact in the world's contact list. More... | |
const b2Contact * | GetNext () const |
float32 | GetRestitution () const |
Get the restitution. More... | |
float32 | GetTangentSpeed () const |
Get the desired tangent speed. In meters per second. More... | |
void | GetWorldManifold (b2WorldManifold *worldManifold) const |
Get the world manifold. More... | |
bool | IsEnabled () const |
Has this contact been disabled? More... | |
bool | IsTouching () const |
Is this contact touching? More... | |
void | ResetFriction () |
Reset the friction mixture to the default value. More... | |
void | ResetRestitution () |
Reset the restitution to the default value. More... | |
void | SetEnabled (bool flag) |
void | SetFriction (float32 friction) |
void | SetRestitution (float32 restitution) |
void | SetTangentSpeed (float32 speed) |
Set the desired tangent speed for a conveyor belt behavior. In meters per second. More... | |
Static Public Member Functions | |
static b2Contact * | Create (b2Fixture *fixtureA, int32 indexA, b2Fixture *fixtureB, int32 indexB, b2BlockAllocator *allocator) |
static void | Destroy (b2Contact *contact, b2BlockAllocator *allocator) |
Definition at line 26 of file b2CircleContact.h.
Definition at line 40 of file b2CircleContact.cpp.
|
inline |
Definition at line 34 of file b2CircleContact.h.
|
static |
Definition at line 28 of file b2CircleContact.cpp.
|
static |
Definition at line 34 of file b2CircleContact.cpp.
|
virtual |
Evaluate this contact with your own manifold and transforms.
Implements b2Contact.
Definition at line 47 of file b2CircleContact.cpp.