Go to:
				Related nodes. Attributes. 
 This node contains the attributes for the rigid constraints.  These
 constraints can only be used with rigid bodies. The constraints include
 the following:
          nail:    Constrains a rigid body to a point in world space.
          pin:     Constrains two rigid bodies together.  By default the
                   constraint is created at the midpoint between the two rigid
                   bodies.
          hinge:   The hinge constrains the rigid body to an arbitrary axis
                   restricting it to two degrees of freedom.  This constraint can
                   act on one or two rigid bodies.  If one rigid body is selected
                   the body is hinged to a point in world space.  If two rigid
                   bodies are selected the two rigid bodies are hinged.  By default
                   the constraint is created at the midpoint between the two rigid bodies.
          spring:  The spring constraint creates a spring which can act on one
                   or two rigid bodies.  If one rigid body is selected a spring is
                   create which will constrain the rigid body to a point in world
                   space.  If two rigid bodies are selected a spring will be
                   created between the two rigid bodies.
          barrier: The barrier constraint limits the position of a rigid body to
                   one side of an arbitrary plane.  The constraint point is the
                   center of mass of the rigid body.
| Node name | Parents | Classification | MFn type | Compatible function sets | 
|---|
| rigidConstraint | transform | drawdb/geometry/dynamics/rigidConstraint | kRigidConstraint | kBase kNamedObject
 kDependencyNode
 kRigidConstraint
 kDagNode
 kTransform
 | 
Related nodes
dynBase, field, airField, turbulenceField, radialField, vortexField, newtonField, volumeAxisField, dragField, uniformField, gravityField, pointEmitter, particle, rigidBody, geoConnectable, spring
Attributes (36)
angularVelocity, angularVelocityX, angularVelocityY, angularVelocityZ, constrain, constraintType, force, forceX, forceY, forceZ, initialOrientation, initialOrientationX, initialOrientationY, initialOrientationZ, initialPosition, initialPositionX, initialPositionY, initialPositionZ, interpenetrate, isBounded, isParented, relativeTo, rigidBody1, rigidBody2, solverId, springDamping, springRestLength, springStiffness, userDefinedPosition, userDefinedPositionX, userDefinedPositionY, userDefinedPositionZ, velocity, velocityX, velocityY, velocityZ
| Long name (short name) | Type | Default | Flags | 
|---|
|  | 
| rigidBody1(rb1) | Message | n/a |    | 
|
|  | 
| rigidBody2(rb2) | Message | n/a |    | 
|
|  | 
| constraintType(typ) | enum | 1 |      | 
|
|  | 
| initialPosition(ip) | double3 | 0, 0, 0 |    | 
|
| |  |  | initialPositionX(ipx) | double | 0.0 |     |  |
 | 
| |  |  | initialPositionY(ipy) | double | 0.0 |     |  |
 | 
| |  |  | initialPositionZ(ipz) | double | 0.0 |     |  |
 | 
|  | 
| velocity(vel) | double3 | 0, 0, 0 |    | 
|
| |  |  | velocityX(vlx) | double | 0.0 |    |  |
 | 
| |  |  | velocityY(vly) | double | 0.0 |    |  |
 | 
| |  |  | velocityZ(vlz) | double | 0.0 |    |  |
 | 
|  | 
| angularVelocity(avl) | double3 | 0, 0, 0 |    | 
|
| |  |  | angularVelocityX(avx) | double | 0.0 |    |  |
 | 
| |  |  | angularVelocityY(avy) | double | 0.0 |    |  |
 | 
| |  |  | angularVelocityZ(avz) | double | 0.0 |    |  |
 | 
|  | 
| initialOrientation(ino) | double3 | 0, 0, 0 |    | 
|
| |  |  | initialOrientationX(iox) | angle (double) | 0.0deg |     |  |
 | 
| |  |  | initialOrientationY(ioy) | angle (double) | 0.0deg |     |  |
 | 
| |  |  | initialOrientationZ(ioz) | angle (double) | 0.0deg |     |  |
 | 
|  | 
| force(for) | double3 | 0, 0, 0 |  | 
|
| |  |  | forceX(frx) | double | 0.0 |  |  |
 | 
| |  |  | forceY(fry) | double | 0.0 |  |  |
 | 
| |  |  | forceZ(frz) | double | 0.0 |  |  |
 | 
|  | 
| springStiffness(sst) | double | 5.0 |      | 
|
|  | 
| springDamping(dmp) | double | 0.1 |      | 
|
|  | 
| springRestLength(srl) | double | 1.0 |      | 
|
|  | 
| interpenetrate(int) | bool | false |      | 
|
|  | 
| isParented(par) | bool | false |      | 
|
|  | 
| isBounded(bon) | bool | false |    | 
|
|  | 
| solverId(sid) | integer | -1 |     | 
|
|  | 
| constrain(con) | bool | true |      | 
|
|  | 
| relativeTo(rlt) | enum | 0 |     | 
|
|  | 
| userDefinedPosition(udp) | double3 | 0, 0, 0 |     | 
|
| |  |  | userDefinedPositionX(upx) | double | 0.0 |      |  |
 | 
| |  |  | userDefinedPositionY(upy) | double | 0.0 |      |  |
 | 
| |  |  | userDefinedPositionZ(upz) | double | 0.0 |      |  |
 |