|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.effects.cloth.ClothUtils
ClothUtils
| Method Summary | |
static SpringNodeForce |
createBasicDrag(float dragCoef)
Create a basic drag force that will use the given drag coefficient. |
static SpringNodeForce |
createBasicGravity()
Create a basic gravitational force. |
static SpringNodeForce |
createBasicWind(float windStr,
Vector3f windDir,
boolean addRandom)
Creates a basic wind that always blows in a single direction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static SpringNodeForce createBasicWind(float windStr,
Vector3f windDir,
boolean addRandom)
windStr - Max strength of wind.windDir - Direction wind should blow.addRandom - randomly alter the strength of the wind by 0-100%
public static SpringNodeForce createBasicGravity()
public static SpringNodeForce createBasicDrag(float dragCoef)
dragCoef - Should be positive. Larger values mean more drag but possibly more instability.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||