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 nameParentsClassificationMFn typeCompatible function sets
rigidSolvernodedynamicskRigidSolverkBase
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)TypeDefaultFlags
currentTime (ct) time0filmoutputinputconnectablekeyable
This holds the value for time to be queried.
startTime (stm) time0filmoutputinputconnectablestorable
The start time of the animation in seconds.
deltaTime (dtm) time0filmoutputinputhidden
The size of a time step in seconds.
lastSceneTime (lst) time0filmoutputinputhidden
This is the scene time for the last time the dynamics was evaluated.
generalForce (gfr) compoundn/aarrayoutputinputconnectablestorablehidden
Generalized force on the rigid bodies (forces and torques).
inputForce (ifr) vectorArrayemptyoutputinputconnectablestorablehidden
Forces on the rigid bodies.
inputTorque (itr) vectorArrayemptyoutputinputconnectablestorablehidden
Torques on the rigid bodies.
translate (t) double3arrayoutputinputconnectablestorablehidden
Translation.
translateX (tx) distance (double)0.0cmoutputinputconnectablestorablehidden
Translate X.
translateY (ty) distance (double)0.0cmoutputinputconnectablestorablehidden
Translate Y.
translateZ (tz) distance (double)0.0cmoutputinputconnectablestorablehidden
Translate Z.
rotate (r) double3arrayoutputinputconnectablestorablehidden
Rotation.
rotateX (rx) angle (double)0.0degoutputinputconnectablestorablehidden
Rotate X.
rotateY (ry) angle (double)0.0degoutputinputconnectablestorablehidden
Rotate Y.
rotateZ (rz) angle (double)0.0degoutputinputconnectablestorablehidden
Rotate Z.
constraintTranslate (ctr) double3arrayoutputinputconnectablestorablehidden
Constraint Translation.
constraintTranslateX (ctx) distance (double)0.0cmoutputinputconnectablestorablehidden
Constraint Translate X.
constraintTranslateY (cty) distance (double)0.0cmoutputinputconnectablestorablehidden
Constraint Translate Y.
constraintTranslateZ (ctz) distance (double)0.0cmoutputinputconnectablestorablehidden
Constraint Translate Z.
constraintRotate (cr) double3arrayoutputinputconnectablestorablehidden
Constraint Rotation.
constraintRotateX (crx) angle (double)0.0degoutputinputconnectablestorablehidden
Constraint Rotate X.
constraintRotateY (cry) angle (double)0.0degoutputinputconnectablestorablehidden
Constraint Rotate Y.
constraintRotateZ (crz) angle (double)0.0degoutputinputconnectablestorablehidden
Constraint Rotate Z.
collisionTolerance (ctl) double0.02outputinputstorable
A delta distance at which two rigid bodies are considered to be "in contact" with one another.
stepSize (ss) double0.03outputinputstorable
The step the rigid solver takes to determine the rigid body solution.
scaleVelocity (svv) double1.0outputinputconnectablestorablekeyable
Scale for the velocity vectors.
rigidBodyCount (rbc) integer0output
Number of rigid bodies in the solver.
solverMethod (slm) enum2outputinputconnectablestorablehidden
Rigid body solver method attribute
friction (f) booltrueoutputinputconnectablestorablekeyable
Turn friction on/off.
bounciness (b) booltrueoutputinputconnectablestorablekeyable
Turn bounciness (sometimes referred to as restitution) on/off.
dynamics (dyn) booltrueoutputinputconnectablestorablekeyable
Turn dynamics on/off.
autoSolverTolerances (ast) boolfalseoutputinputconnectablestorablehidden
Calculate the solver tolerances.
displayVelocity (dv) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the display velocity vector.
displayCenterOfMass (dcom) booltrueoutputinputconnectablestorablekeyable
Turn on/off the display of the center of mass icon.
displayConstraint (dc) booltrueoutputinputconnectablestorablekeyable
Turn on/off the display of the constraint vector.
displayLabel (dl) boolfalseoutputinputconnectablestorablekeyable
Turn on/off labels for the rigid bodies and constraints in the solver.
cacheData (cd) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the caching of all rigid bodies.
contactData (ctd) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the contact data output of the rigid bodies.
state (stt) booltrueoutputinputconnectablestorablekeyable
Turn on/off the solver
current (cur) boolfalseoutputinputstorablehidden
Indicates that this is the current solver. The current solver is the one in which rigid bodies will be added to.
forceDynamics (fdn) boolfalseoutputinputstorablehidden
By requesting this attribute, the rigid solver will be forced to evaluate.
allowDisconnection (ad) boolfalseoutputinputstorablehidden
Allows the user to disconnect the connection made by the solver to the time and choice nodes.
solving (sol) boolfalseoutputinputhidden
Indicates that we are solving.
statistics (st) boolfalseoutputinputstorablehidden
This attribute is obsolete and should not be used.