| Package | Description |
|---|---|
| com.almasb.fxgl.physics | |
| com.almasb.fxgl.physics.box2d.dynamics |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicsComponent.setFixtureDef(FixtureDef def)
Set custom fixture definition to describe a generated
fixture for this physics entity.
|
| Modifier and Type | Method and Description |
|---|---|
FixtureDef |
FixtureDef.density(float density) |
FixtureDef |
FixtureDef.filter(Filter filter) |
FixtureDef |
FixtureDef.friction(float friction) |
FixtureDef |
FixtureDef.restitution(float restitution) |
FixtureDef |
FixtureDef.sensor(boolean isSensor) |
FixtureDef |
FixtureDef.shape(Shape shape) |
FixtureDef |
FixtureDef.userData(Object userData) |
| Modifier and Type | Method and Description |
|---|---|
Fixture |
Body.createFixture(FixtureDef def)
Creates a fixture and attach it to this body.
|
Copyright © 2018. All rights reserved.