|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContactHandlingDetails
Interface for contact handling detail like friction, bouciness, etc.
| Method Summary | |
|---|---|
float |
getBounce()
|
float |
getDampingCoefficient()
If spring constant and damping coefficient are not NaN they make the contact 'softer' like a spring. |
com.jme.math.Vector3f |
getFrictionDirection(com.jme.math.Vector3f store)
Query the direction for the friction - TODO: remove this? |
float |
getMinimumBounceVelocity()
|
float |
getMu()
|
float |
getMuOrthogonal()
|
com.jme.math.Vector3f |
getSecondaryFrictionDirection(com.jme.math.Vector3f store)
Query the direction for the secondary friction - TODO: remove this? |
com.jme.math.Vector2f |
getSlip(com.jme.math.Vector2f store)
|
float |
getSpringConstant()
If spring constant and damping coefficient are not NaN they make the contact 'softer' like a spring. |
com.jme.math.Vector2f |
getSurfaceMotion(com.jme.math.Vector2f store)
|
boolean |
isApplied()
|
boolean |
isIgnored()
|
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
boolean isIgnored()
isApplied()boolean isApplied()
isIgnored()float getMu()
MutableContactInfo.setMu(float)float getMuOrthogonal()
MutableContactInfo.setMuOrthogonal(float)float getBounce()
MutableContactInfo.setBounce(float)float getMinimumBounceVelocity()
MutableContactInfo.setMinimumBounceVelocity(float)com.jme.math.Vector2f getSurfaceMotion(com.jme.math.Vector2f store)
store - where to store the retrieved value (null to create a new vector)
MutableContactInfo.setSurfaceMotion(com.jme.math.Vector2f)com.jme.math.Vector2f getSlip(com.jme.math.Vector2f store)
store - where to store the retrieved value (null to create a new vector)
MutableContactInfo.setSlip(com.jme.math.Vector2f)com.jme.math.Vector3f getFrictionDirection(com.jme.math.Vector3f store)
store - where to put the value, null to create a new Vector
com.jme.math.Vector3f getSecondaryFrictionDirection(com.jme.math.Vector3f store)
store - where to put the value, null to create a new Vector
float getSpringConstant()
getDampingCoefficient()float getDampingCoefficient()
getSpringConstant()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||