#include <b2_edge_circle_contact.h>
Public Member Functions | |
b2EdgeAndCircleContact (b2Fixture *fixtureA, b2Fixture *fixtureB) | |
void | Evaluate (b2Manifold *manifold, const b2Transform &xfA, const b2Transform &xfB) override |
Evaluate this contact with your own manifold and transforms. More... | |
~b2EdgeAndCircleContact () | |
![]() | |
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 |
float | 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 |
float | GetRestitution () const |
Get the restitution. More... | |
float | GetRestitutionThreshold () const |
Get the restitution threshold. More... | |
float | 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 | ResetRestitutionThreshold () |
Reset the restitution threshold to the default value. More... | |
void | SetEnabled (bool flag) |
void | SetFriction (float friction) |
void | SetRestitution (float restitution) |
void | SetRestitutionThreshold (float threshold) |
void | SetTangentSpeed (float 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 30 of file b2_edge_circle_contact.h.
Definition at line 42 of file b2_edge_circle_contact.cpp.
|
inline |
Definition at line 38 of file b2_edge_circle_contact.h.
|
static |
Definition at line 30 of file b2_edge_circle_contact.cpp.
|
static |
Definition at line 36 of file b2_edge_circle_contact.cpp.
|
overridevirtual |
Evaluate this contact with your own manifold and transforms.
Implements b2Contact.
Definition at line 49 of file b2_edge_circle_contact.cpp.