Go to: Related nodes. Attributes.
This node contains the attributes for the rigid solver. The
attributes of the rigid solver control the accuracy of the rigid
body solution along with some global attributes such as friction,
bounciness and caching. The user can change the collision tolerance
(a delta distance at which two rigid bodies are considered to be
"in contact" with one another) and step size (the step the rigid
solver takes to determine the rigid body solution). Decreasing
either of these attributes will cause the solver to run slower but
more accurately. This node also controls the display of annotations
such as the center of mass, velocity and constraint indicators.
Node name |
Parents |
MFn type |
Compatible function sets |
rigidSolver |
node |
kRigidSolver |
kBase
kNamedObject
kDependencyNode
kRigidSolver |
Related nodes
geoConnector, dynGlobals
Attributes (44)
allowDisconnection,
autoSolverTolerances,
bounciness, cacheData, collisionTolerance, constraintRotate, constraintRotateX, constraintRotateY, constraintRotateZ, constraintTranslate, constraintTranslateX, constraintTranslateY, constraintTranslateZ, contactData, current, currentTime, deltaTime, displayCenterOfMass, displayConstraint, displayLabel, displayVelocity, dynamics, forceDynamics, friction, generalForce, inputForce, inputTorque, lastSceneTime, rigidBodyCount, rotate, rotateX,
rotateY, rotateZ, scaleVelocity, solverMethod, solving, startTime,
state, statistics, stepSize, translate, translateX, translateY, translateZ
Long name (short name) |
Type |
Default |
Flags |
|
currentTime
(ct ) |
time |
0film |
|
|
startTime
(stm ) |
time |
0film |
|
|
deltaTime
(dtm ) |
time |
0film |
|
|
lastSceneTime
(lst ) |
time |
0film |
|
|
generalForce
(gfr ) |
compound |
n/a |
|
|
inputForce
(ifr ) |
vectorArray |
empty |
|
|
|
inputTorque
(itr ) |
vectorArray |
empty |
|
|
|
translate
(t ) |
double3 |
|
|
|
translateX
(tx ) |
distance
(double) |
0.0cm |
|
|
|
translateY
(ty ) |
distance
(double) |
0.0cm |
|
|
|
translateZ
(tz ) |
distance
(double) |
0.0cm |
|
|
|
rotate
(r ) |
double3 |
|
|
|
rotateX
(rx ) |
angle (double) |
0.0deg |
|
|
|
rotateY
(ry ) |
angle (double) |
0.0deg |
|
|
|
rotateZ
(rz ) |
angle (double) |
0.0deg |
|
|
|
constraintTranslate
(ctr ) |
double3 |
|
|
|
constraintTranslateX
(ctx ) |
distance
(double) |
0.0cm |
|
|
|
constraintTranslateY
(cty ) |
distance
(double) |
0.0cm |
|
|
|
constraintTranslateZ
(ctz ) |
distance
(double) |
0.0cm |
|
|
|
constraintRotate
(cr ) |
double3 |
|
|
|
constraintRotateX
(crx ) |
angle (double) |
0.0deg |
|
|
|
constraintRotateY
(cry ) |
angle (double) |
0.0deg |
|
|
|
constraintRotateZ
(crz ) |
angle (double) |
0.0deg |
|
|
|
collisionTolerance
(ctl ) |
double |
0.02 |
|
|
stepSize
(ss ) |
double |
0.03 |
|
|
scaleVelocity
(svv ) |
double |
1.0 |
|
|
rigidBodyCount
(rbc ) |
integer |
0 |
|
|
solverMethod
(slm ) |
enum |
2 |
|
|
friction
(f ) |
bool |
true |
|
|
bounciness
(b ) |
bool |
true |
|
|
dynamics
(dyn ) |
bool |
true |
|
|
autoSolverTolerances
(ast ) |
bool |
false |
|
|
displayVelocity
(dv ) |
bool |
false |
|
|
displayCenterOfMass
(dcom ) |
bool |
true |
|
|
displayConstraint
(dc ) |
bool |
true |
|
|
displayLabel
(dl ) |
bool |
false |
|
|
cacheData
(cd ) |
bool |
false |
|
|
contactData
(ctd ) |
bool |
false |
|
|
state
(stt ) |
bool |
true |
|
|
current
(cur ) |
bool |
false |
|
|
forceDynamics
(fdn ) |
bool |
false |
|
|
allowDisconnection
(ad ) |
bool |
false |
|
|
solving
(sol ) |
bool |
false |
|
|
statistics
(st ) |
bool |
false |
|