Package | Description |
---|---|
org.jbox2d.callbacks | |
org.jbox2d.dynamics | |
org.jbox2d.dynamics.contacts |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
DestructionListener.sayGoodbye(Fixture fixture)
Called when any fixture is about to be destroyed due
to the destruction of its parent body.
|
boolean |
ContactFilter.shouldCollide(Fixture fixtureA,
Fixture fixtureB)
Return true if contact calculations should be performed between these two shapes.
|
Modifier and Type | Field and Description |
---|---|
Fixture |
Body.m_fixtureList |
Fixture |
Fixture.m_next |
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.
|
Fixture |
Body.getFixtureList()
Get the list of all fixtures attached to this body.
|
Fixture |
Fixture.getNext()
Get the next fixture in the parent body's fixture list.
|
Modifier and Type | Method and Description |
---|---|
void |
Body.destroyFixture(Fixture fixture)
Destroy a fixture.
|
Contact |
World.popContact(Fixture fixtureA,
int indexA,
Fixture fixtureB,
int indexB) |
Modifier and Type | Field and Description |
---|---|
Fixture |
Contact.m_fixtureA |
Fixture |
Contact.m_fixtureB |
Modifier and Type | Method and Description |
---|---|
Fixture |
Contact.getFixtureA()
Get the first fixture in this contact.
|
Fixture |
Contact.getFixtureB()
Get the second fixture in this contact.
|
Modifier and Type | Method and Description |
---|---|
Contact |
ContactCreator.contactCreateFcn(IWorldPool argPool,
Fixture fixtureA,
Fixture fixtureB) |
void |
PolygonAndCircleContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
PolygonContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
CircleContact.init(Fixture fixtureA,
Fixture fixtureB) |
void |
EdgeAndCircleContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
EdgeAndPolygonContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
ChainAndPolygonContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
void |
Contact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB)
initialization for pooling
|
void |
ChainAndCircleContact.init(Fixture fA,
int indexA,
Fixture fB,
int indexB) |
Copyright © 2017. All Rights Reserved.