|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.dynamics.contacts.ContactResult
public class ContactResult
This structure is used to report contact point results.
Field Summary | |
---|---|
ContactID |
id
The contact id identifies the features in contact |
Vec2 |
normal
Points from shape1 to shape2 |
float |
normalImpulse
The normal impulse applied to body2 |
Vec2 |
position
Position in world coordinates |
Shape |
shape1
The first shape |
Shape |
shape2
The second shape |
float |
tangentImpulse
The tangent impulse applied to body2 |
Constructor Summary | |
---|---|
ContactResult()
|
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 final Vec2 position
public final Vec2 normal
public float normalImpulse
public float tangentImpulse
public final ContactID id
Constructor Detail |
---|
public ContactResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |