|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmex.effects.cloth.ClothUtils
public final class ClothUtils
ClothUtils
| Method Summary | |
|---|---|
static SpringPointForce |
createBasicDrag(float dragCoef)
Create a basic drag force that will use the given drag coefficient. |
static SpringPointForce |
createBasicGravity()
Create a basic gravitational force. |
static SpringPointForce |
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 SpringPointForce 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 SpringPointForce createBasicGravity()
public static SpringPointForce 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 | |||||||||