|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbox2d.dynamics.contacts.ContactPoint
public class ContactPoint
| Field Summary | |
|---|---|
float |
friction
The combined friction coefficient |
ContactID |
id
The contact id identifies the features in contact |
Vec2 |
normal
Points from shape1 to shape2 |
Vec2 |
position
Position in world coordinates |
float |
restitution
The combined restitution coefficient |
float |
separation
The separation is negative when shapes are touching |
Shape |
shape1
The first shape |
Shape |
shape2
The second shape |
Vec2 |
velocity
Velocity of point on body2 relative to point on body1 (pre-solver) |
| Constructor Summary | |
|---|---|
ContactPoint()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Shape shape1
public Shape shape2
public Vec2 position
public Vec2 velocity
public Vec2 normal
public float separation
public float friction
public float restitution
public ContactID id
| Constructor Detail |
|---|
public ContactPoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||