|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContactInfo
Interface to query details for a contact of two collision geometries.
| Method Summary | |
|---|---|
com.jme.math.Vector3f |
getContactNormal(com.jme.math.Vector3f store)
|
com.jme.math.Vector3f |
getContactPosition(com.jme.math.Vector3f store)
|
com.jme.math.Vector3f |
getContactVelocity(com.jme.math.Vector3f store)
|
void |
getDefaultFrictionDirections(com.jme.math.Vector3f primaryStore,
com.jme.math.Vector3f secondaryStore)
Query the default for the directions of the friction. |
PhysicsCollisionGeometry |
getGeometry1()
First geometry in this contact. |
PhysicsCollisionGeometry |
getGeometry2()
Second geometry in this contact. |
PhysicsNode |
getNode1()
First node in this contact. |
PhysicsNode |
getNode2()
Second node in this contact. |
float |
getPenetrationDepth()
|
float |
getTime()
|
| Method Detail |
|---|
float getTime()
PhysicsCollisionGeometry getGeometry1()
getGeometry2()PhysicsCollisionGeometry getGeometry2()
getGeometry1()PhysicsNode getNode1()
getNode2()PhysicsNode getNode2()
getNode1()com.jme.math.Vector3f getContactVelocity(com.jme.math.Vector3f store)
store - where to put the value, null to create a new Vector
com.jme.math.Vector3f getContactPosition(com.jme.math.Vector3f store)
store - where to put the value, null to create a new Vector
com.jme.math.Vector3f getContactNormal(com.jme.math.Vector3f store)
store - where to put the value, null to create a new Vector
float getPenetrationDepth()
getContactNormal(com.jme.math.Vector3f)
void getDefaultFrictionDirections(com.jme.math.Vector3f primaryStore,
com.jme.math.Vector3f secondaryStore)
primaryStore - store for first friction direction as specified in
ContactHandlingDetails.getFrictionDirection(com.jme.math.Vector3f) (cannot be null)secondaryStore - second direction store (may be null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||