Package | Description |
---|---|
com.badlogic.gdx.physics.box2d |
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 |
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 |
---|---|
Array<Fixture> |
Body.getFixtureList()
Get the list of all fixtures attached to this body.
|
Modifier and Type | Method and Description |
---|---|
void |
Body.destroyFixture(Fixture fixture)
Destroy a fixture.
|
boolean |
QueryCallback.reportFixture(Fixture fixture)
Called for each fixture found in the query AABB.
|
float |
RayCastCallback.reportRayFixture(Fixture fixture,
Vector2 point,
Vector2 normal,
float fraction)
Called for each fixture found in the query.
|
boolean |
ContactFilter.shouldCollide(Fixture fixtureA,
Fixture fixtureB) |
Modifier and Type | Method and Description |
---|---|
void |
World.getFixtures(Array<Fixture> fixtures) |
Copyright © 2020. All rights reserved.