Go to: Related nodes. Attributes.
The spring node represents a group of springs between points in one or more
particle or geometry objects. The stiffness, damping, restLength, and
end1weight/end2Weight attributes control the motion of the springs.
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
spring | shape | kSpring | kBase kNamedObject kDependencyNode kDagNode kShape kSpring |
rigidConstraint, dynBase, field, airField, turbulenceField, radialField, vortexField, newtonField, volumeAxisField, dragField, uniformField, gravityField, pointEmitter, particle, rigidBody, geoConnectable
count, damping, dampingPS, deltaTime, end1Weight, end2Weight, idIndex, idMapping, lengths, manageParticleDeath, maxUsed, minSprings, minUsed, obj0Index, obj1Index, objCount, object0, object1, objectMass, objectPositions, objectVelocities, objects, outputForce, point0, point1, pt0Index, pt1Index, restLength, restLengthPS, sortedId, stiffness, stiffnessPS, useDampingPS, useRestLengthPS, useStiffnessPS, validIndex
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
end1Weight
(f )
| double | 1 | |||||||||||||||
end2Weight
(t )
| double | 1 | |||||||||||||||
useStiffnessPS
(usps )
| bool | true | |||||||||||||||
useDampingPS
(udps )
| bool | true | |||||||||||||||
useRestLengthPS
(urps )
| bool | true | |||||||||||||||
stiffness
(s )
| double | 1 | |||||||||||||||
damping
(d )
| double | .2 | |||||||||||||||
restLength
(r )
| double | 0 | |||||||||||||||
stiffnessPS
(sps )
| doubleArray | empty | |||||||||||||||
dampingPS
(dps )
| doubleArray | empty | |||||||||||||||
restLengthPS
(rps )
| doubleArray | empty | |||||||||||||||
objectPositions
(opos )
| vectorArray | empty | |||||||||||||||
objectVelocities
(ovel )
| vectorArray | empty | |||||||||||||||
objectMass
(omas )
| doubleArray | empty | |||||||||||||||
deltaTime
(dt )
| time | 0film | |||||||||||||||
outputForce
(of )
| vectorArray | empty | |||||||||||||||
validIndex
(vali )
| intArray | empty | |||||||||||||||
object0
(obz )
| intArray | empty | |||||||||||||||
point0
(ptz )
| intArray | empty | |||||||||||||||
object1
(obo )
| intArray | empty | |||||||||||||||
point1
(pto )
| intArray | empty | |||||||||||||||
minSprings
(ms )
| integer | 0 | |||||||||||||||
manageParticleDeath
(mpd )
| bool | true | |||||||||||||||
idMapping
(idm )
| compound | n/a | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
count
(cnt )
| integer | 0 | |||||||||||||||
objects
(obj )
| Message | n/a | |||||||||||||||
objCount
(obc )
| integer | 0 | |||||||||||||||
lengths
(lns )
| doubleArray | empty | |||||||||||||||
minUsed
(mnu )
| double | 0.0 | |||||||||||||||
maxUsed
(mxu )
| double | 0.0 | |||||||||||||||
pt0Index
(pzi )
| doubleArray | empty | |||||||||||||||
pt1Index
(poi )
| doubleArray | empty | |||||||||||||||
obj0Index
(ozi )
| doubleArray | empty | |||||||||||||||
obj1Index
(ooi )
| doubleArray | empty | |||||||||||||||