Go to: Related nodes. Attributes.
The nCloth node applys dynamic motion to a deformable mesh. This
can be used to simulate cloth behavior, as well as other deformable
dynamic shapes, such as metal.
Node name |
Parents |
MFn type |
Compatible function sets |
membrane |
node |
kMembrane |
kBase
kNamedObject
kDependencyNode
kMembrane |
Related nodes
nCloth, nucleus
Attributes (51)
The following quick index only shows top-level attributes
(too many attributes to show them all): bendAngleDropoff, bendAngleScale, bendResistance, collide, collideMesh, compressionResistance, drag, enable, friction, gravity,
gravityDirection (3), inputMatrix, inputMesh, lift,
outputMesh, pressure, pressureMethod, pushOut, pushOutRadius, restLengthScale, restShapeMesh, rigidity, selfCollide, selfCollideWidthScale, selfCollisionFlag, shearResistance, spaceScale, stepSize, steps,
stretchResistance, subSteps, tangentialDrag, thickness, thicknessPerVertex, turbulence, turbulenceFrequency, turbulenceOffset (3), turbulencePerVertex, turbulenceTime, weightPerVertex, windDirection (3), windSpeed
Long name (short name) |
Type |
Default |
Flags |
|
inputMesh
(imsh ) |
mesh |
NULL |
|
|
inputMatrix
(ix ) |
matrix |
NULL |
|
|
collideMesh
(cmsh ) |
mesh |
NULL |
|
|
restShapeMesh
(rsmh ) |
mesh |
NULL |
|
|
outputMesh
(omsh ) |
mesh |
NULL |
|
|
enable
(enb ) |
bool |
1 |
|
|
gravity
(grty ) |
float |
9.8 |
|
|
gravityDirection
(grdi ) |
float3 |
|
|
|
gravityDirectionX
(grdx ) |
float |
0.0 |
|
|
|
gravityDirectionY
(grdy ) |
float |
-1.0 |
|
|
|
gravityDirectionZ
(grdz ) |
float |
0.0 |
|
|
|
windSpeed
(wisp ) |
float |
0.0 |
|
|
windDirection
(widi ) |
float3 |
|
|
|
windDirectionX
(widx ) |
float |
1.0 |
|
|
|
windDirectionY
(widy ) |
float |
0.0 |
|
|
|
windDirectionZ
(widz ) |
float |
0.0 |
|
|
|
turbulence
(trb ) |
float |
0.0 |
|
|
turbulenceTime
(trt ) |
float |
0.0 |
|
|
turbulenceFrequency
(tf ) |
float |
1.0 |
|
|
turbulenceOffset
(to ) |
float3 |
|
|
|
turbulenceOffsetX
(tox ) |
float |
0.0 |
|
|
|
turbulenceOffsetY
(toy ) |
float |
0.0 |
|
|
|
turbulenceOffsetZ
(toz ) |
float |
0.0 |
|
|
|
lift
(lft ) |
float |
0.0 |
|
|
drag
(drg ) |
float |
0.05 |
|
|
tangentialDrag
(tdrg ) |
float |
0.3 |
|
|
steps
(stps ) |
integer |
1 |
|
|
subSteps
(sstp ) |
integer |
3 |
|
|
stepSize
(stsz ) |
float |
1.0 |
|
|
spaceScale
(spsc ) |
float |
1.0 |
|
|
thickness
(thss ) |
float |
0.05 |
|
|
friction
(fron ) |
float |
0.1 |
|
|
selfCollisionFlag
(scfl ) |
enum |
2 |
|
|
restLengthScale
(rlsc ) |
float |
1.0 |
|
|
collide
(cold ) |
bool |
1 |
|
|
selfCollide
(scld ) |
bool |
0 |
|
|
selfCollideWidthScale
(scws ) |
float |
1.0 |
|
|
pushOut
(pou ) |
float |
0.0 |
|
|
pushOutRadius
(por ) |
float |
2.0 |
|
|
stretchResistance
(stch ) |
float |
10.0 |
|
|
compressionResistance
(comr ) |
float |
10.0 |
|
|
bendResistance
(bnd ) |
float |
0.0 |
|
|
bendAngleDropoff
(bnad ) |
float |
0.0 |
|
|
shearResistance
(shr ) |
float |
0.0 |
|
|
bendAngleScale
(basc ) |
float |
1.0 |
|
|
rigidity
(rity ) |
float |
0.0 |
|
|
pressure
(pres ) |
float |
0.0 |
|
|
pressureMethod
(pmth ) |
enum |
0 |
|
|
weightPerVertex
(wepv ) |
doubleArray |
empty |
|
|
thicknessPerVertex
(thpv ) |
doubleArray |
empty |
|
|
turbulencePerVertex
(tupv ) |
doubleArray |
empty |
|