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 |
|---|---|---|---|
| nCloth | nParticle | kNCloth | kBase kNamedObject kDependencyNode kDagNode kShape kParticle kNParticle kNCloth |
field, spring, nParticle, nRigid
Attribute quick index omitted (too many attributes to show them all).
| Long name (short name) | Type | Default | Flags | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
outputMesh
(omsh)
| Generic | n/a | |||||||||||||||
restShapeMesh
(rsmh)
| Generic | n/a | |||||||||||||||
numSubdivisions
(nsub)
| integer | 2 | |||||||||||||||
scalingRelation
(srl)
| enum | 0 | |||||||||||||||
stretchResistance
(stch)
| float | 20.0 | |||||||||||||||
compressionResistance
(comr)
| float | 10.0 | |||||||||||||||
stretchMap
(stmp)
| float | 1.0 | |||||||||||||||
stretchPerVertex
(spv)
| doubleArray | empty | |||||||||||||||
bendResistance
(bnd)
| float | 0.1 | |||||||||||||||
bendMap
(bemp)
| float | 0.0 | |||||||||||||||
bendPerVertex
(bdpv)
| doubleArray | empty | |||||||||||||||
bendAngleDropoff
(bnad)
| float | 0.0 | |||||||||||||||
restitutionTension
(retn)
| float | 1000.0 | |||||||||||||||
restitutionAngle
(reae)
| angle (float) | 360.0deg | |||||||||||||||
shearResistance
(shr)
| float | 0.0 | |||||||||||||||
rigidity
(rity)
| float | 0.0 | |||||||||||||||
rigidityMap
(rimp)
| float | 0.0 | |||||||||||||||
rigidityPerVertex
(rpv)
| doubleArray | empty | |||||||||||||||
deformResistance
(dety)
| float | 0.0 | |||||||||||||||
deformMap
(demp)
| float | 0.0 | |||||||||||||||
deformPerVertex
(dfpv)
| doubleArray | empty | |||||||||||||||
inputMeshAttract
(imat)
| float | 0.0 | |||||||||||||||
inputAttractMap
(iamp)
| float | 0.0 | |||||||||||||||
inputAttractPerVertex
(iapv)
| doubleArray | empty | |||||||||||||||
inputAttractDamp
(iadm)
| float | 0.5 | |||||||||||||||
wrinkleMap
(wkmp)
| float | 0.0 | |||||||||||||||
wrinklePerVertex
(wpv)
| doubleArray | empty | |||||||||||||||
wrinkleMapScale
(wms)
| float | 1.0 | |||||||||||||||
bendAngleScale
(basc)
| float | 1.0 | |||||||||||||||
sortLinks
(stlk)
| bool | 0 | |||||||||||||||
evaluationOrder
(evo)
| enum | 0 | |||||||||||||||
addCrossLinks
(aclk)
| bool | true | |||||||||||||||
selfCollideWidthScale
(scws)
| float | 1.0 | |||||||||||||||
selfCollisionSoftness
(scsf)
| float | 0.0 | |||||||||||||||
selfCrossoverPush
(scpu)
| float | 0.0 | |||||||||||||||
selfTrappedCheck
(stpc)
| bool | 0 | |||||||||||||||
pressureMethod
(pmth)
| enum | 0 | |||||||||||||||
pressure
(pres)
| float | 0.0 | |||||||||||||||
startPressure
(stpe)
| float | 0.0 | |||||||||||||||
incompressibility
(incm)
| float | 5.0 | |||||||||||||||
pressureDamping
(prdg)
| float | 0.0 | |||||||||||||||
pumpRate
(pure)
| float | 0.0 | |||||||||||||||
airTightness
(aits)
| float | 1.0 | |||||||||||||||
sealHoles
(shol)
| bool | true | |||||||||||||||
ignoreSolverGravity
(igsg)
| bool | 0 | |||||||||||||||
lift
(lft)
| float | 0.05 | |||||||||||||||
drag
(drg)
| float | 0.05 | |||||||||||||||
tangentialDrag
(tdrg)
| float | 0.0 | |||||||||||||||
solverDisplay
(svds)
| enum | 0 | |||||||||||||||
stretchMapType
(smt)
| enum | 2 | |||||||||||||||
bendMapType
(bdmt)
| enum | 2 | |||||||||||||||
rigidityMapType
(rmt)
| enum | 2 | |||||||||||||||
deformMapType
(dmmt)
| enum | 2 | |||||||||||||||
inputAttractMapType
(iamt)
| enum | 2 | |||||||||||||||
wrinkleMapType
(wmt)
| enum | 2 | |||||||||||||||
numStretchIter
(nosi)
| integer | 20 | |||||||||||||||
maxStretchIter
(masi)
| integer | 0 | |||||||||||||||
stretchSubcycles
(stsc)
| integer | 0 | |||||||||||||||
numBendIter
(nobi)
| integer | 4 | |||||||||||||||
linksTension
(litn)
| float | 1000 | |||||||||||||||
numShearIter
(nshi)
| integer | 4 | |||||||||||||||
numRigidityIterations
(nrgi)
| integer | 4 | |||||||||||||||
selfCrossoverCheck
(scck)
| bool | false | |||||||||||||||
newStretchModel
(nsml)
| bool | false | |||||||||||||||
selfCollisionThicknessScale
(scts)
| float | 1.0 | |||||||||||||||
pressureStrength
(prsh)
| float | 1.0 | |||||||||||||||
betterVolumeConserve
(bvc)
| bool | false | |||||||||||||||
maxPressureIter
(mapi)
| integer | 0 | |||||||||||||||
solverOverride
(slov)
| bool | false | |||||||||||||||
gravity
(grty)
| float | 0.0 | |||||||||||||||
gravityDirection
(grdi)
| float3 | ||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
dragOffset
(drao)
| float | 0.0 | |||||||||||||||
windSpeed
(wisp)
| float | 0.0 | |||||||||||||||
windDirection
(widi)
| float3 | ||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
collisionDrag
(codr)
| float | 0.0 | |||||||||||||||