| Package | Description |
|---|---|
| com.almasb.fxgl.physics.box2d.callbacks | |
| com.almasb.fxgl.physics.box2d.dynamics | |
| com.almasb.fxgl.physics.box2d.dynamics.contacts |
| Modifier and Type | Method and Description |
|---|---|
void |
DestructionListener.onDestroy(Fixture fixture)
Called when any fixture is about to be destroyed due
to the destruction of its parent body.
|
boolean |
QueryCallback.reportFixture(Fixture fixture)
Called for each fixture found in the query AABB.
|
float |
RayCastCallback.reportFixture(Fixture fixture,
Vec2 point,
Vec2 normal,
float fraction)
Called for each fixture found in the query.
|
boolean |
ContactFilter.shouldCollide(Fixture fixtureA,
Fixture fixtureB) |
| Modifier and Type | Method and Description |
|---|---|
Fixture |
Body.createFixture(FixtureDef def)
Creates a fixture and attach it to this body.
|
Fixture |
Body.createFixture(Shape shape,
float density)
Creates a fixture from a shape and attach it to this body.
|
| Modifier and Type | Method and Description |
|---|---|
List<Fixture> |
Body.getFixtures() |
| Modifier and Type | Method and Description |
|---|---|
void |
Body.destroyFixture(Fixture fixture)
Destroy a fixture.
|
| Modifier and Type | Field and Description |
|---|---|
Fixture |
Contact.m_fixtureA |
Fixture |
Contact.m_fixtureB |
| Modifier and Type | Method and Description |
|---|---|
Fixture |
Contact.getFixtureA() |
Fixture |
Contact.getFixtureB() |
| Modifier and Type | Method and Description |
|---|---|
void |
PolygonContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
PolygonAndCircleContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
CircleContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
EdgeAndPolygonContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
EdgeAndCircleContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
Contact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB)
initialization for pooling
|
void |
ChainAndPolygonContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
ChainAndCircleContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
Copyright © 2018. All rights reserved.