프로퍼티 | 타입 | 설명 | |
---|---|---|---|
triangleExpansion | float |
메소드 | 설명 | |
---|---|---|
AddForce ( Jitter.LinearMath.JVector force ) : void | ||
AddPressureForces ( float timeStep ) : void | ||
CalculateCenter ( ) : Jitter.LinearMath.JVector | ||
DoSelfCollision ( CollisionDetectedHandler collision ) : void | ||
Rotate ( Jitter.LinearMath.JMatrix orientation, Jitter.LinearMath.JVector center ) : void | ||
SetSpringValues ( SpringType type, float bias, float softness ) : void | ||
SetSpringValues ( float bias, float softness ) : void | ||
SoftBody ( List |
||
SoftBody ( int sizeX, int sizeY, float scale ) : System |
Creates a 2D-Cloth. Connects Nearest Neighbours (4x, called EdgeSprings) and adds additional shear/bend constraints (4xShear+4xBend).
|
|
Translate ( Jitter.LinearMath.JVector position ) : void | ||
Update ( float timestep ) : void |
메소드 | 설명 | |
---|---|---|
AddPointsAndSprings ( List |
||
GetEdges ( List |
public AddForce ( Jitter.LinearMath.JVector force ) : void | ||
force | Jitter.LinearMath.JVector | |
리턴 | void |
public AddPressureForces ( float timeStep ) : void | ||
timeStep | float | |
리턴 | void |
public CalculateCenter ( ) : Jitter.LinearMath.JVector | ||
리턴 | Jitter.LinearMath.JVector |
public DoSelfCollision ( CollisionDetectedHandler collision ) : void | ||
collision | CollisionDetectedHandler | |
리턴 | void |
public Rotate ( Jitter.LinearMath.JMatrix orientation, Jitter.LinearMath.JVector center ) : void | ||
orientation | Jitter.LinearMath.JMatrix | |
center | Jitter.LinearMath.JVector | |
리턴 | void |
public SetSpringValues ( SpringType type, float bias, float softness ) : void | ||
type | SpringType | |
bias | float | |
softness | float | |
리턴 | void |
public SetSpringValues ( float bias, float softness ) : void | ||
bias | float | |
softness | float | |
리턴 | void |
public SoftBody ( List |
||
indices | List |
|
vertices | List |
|
리턴 | System |
public SoftBody ( int sizeX, int sizeY, float scale ) : System | ||
sizeX | int | |
sizeY | int | |
scale | float | |
리턴 | System |
public Translate ( Jitter.LinearMath.JVector position ) : void | ||
position | Jitter.LinearMath.JVector | |
리턴 | void |