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 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) |
|
rigidBody2
(rb2 ) |
Message |
n/a |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) |
|
constraintType
(typ ) |
enum |
1 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
initialPosition
(ip ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![storable storable](../gfx/storable.gif) |
|
initialPositionX
(ipx ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
initialPositionY
(ipy ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
initialPositionZ
(ipz ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
velocity
(vel ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
velocityX
(vlx ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
velocityY
(vly ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
velocityZ
(vlz ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
angularVelocity
(avl ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
angularVelocityX
(avx ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
angularVelocityY
(avy ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
angularVelocityZ
(avz ) |
double |
0.0 |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
|
initialOrientation
(ino ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![storable storable](../gfx/storable.gif) |
|
initialOrientationX
(iox ) |
angle (double) |
0.0deg |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
initialOrientationY
(ioy ) |
angle (double) |
0.0deg |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
initialOrientationZ
(ioz ) |
angle (double) |
0.0deg |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
|
force
(for ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) |
|
forceX
(frx ) |
double |
0.0 |
![output output](../gfx/output.gif) |
|
|
forceY
(fry ) |
double |
0.0 |
![output output](../gfx/output.gif) |
|
|
forceZ
(frz ) |
double |
0.0 |
![output output](../gfx/output.gif) |
|
|
springStiffness
(sst ) |
double |
5.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
springDamping
(dmp ) |
double |
0.1 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
springRestLength
(srl ) |
double |
1.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
interpenetrate
(int ) |
bool |
false |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
isParented
(par ) |
bool |
false |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
isBounded
(bon ) |
bool |
false |
![output output](../gfx/output.gif) ![connectable connectable](../gfx/connectable.gif) ![hidden hidden](../gfx/hidden.gif) |
|
solverId
(sid ) |
integer |
-1 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
constrain
(con ) |
bool |
true |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
relativeTo
(rlt ) |
enum |
0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) |
|
userDefinedPosition
(udp ) |
double3 |
0, 0, 0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
userDefinedPositionX
(upx ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
|
userDefinedPositionY
(upy ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|
|
userDefinedPositionZ
(upz ) |
double |
0.0 |
![output output](../gfx/output.gif) ![input input](../gfx/input.gif) ![connectable connectable](../gfx/connectable.gif) ![storable storable](../gfx/storable.gif) ![keyable keyable](../gfx/keyable.gif) |
|