Show frames

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
allowDisconnection (ad) boolfalseoutputinputstorablehidden
Allows the user to disconnect the connection made by the solver to the time and choice nodes.
autoSolverTolerances (ast) boolfalseoutputinputconnectablestorablehidden
Calculate the solver tolerances.
cacheData (cd) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the caching of all rigid bodies.
collisionTolerance (ctl) double0.02outputinputstorable
A delta distance at which two rigid bodies are considered to be "in contact" with one another.
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.
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.
contactData (ctd) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the contact data output of the rigid bodies.
current (cur) boolfalseoutputinputstorablehidden
Indicates that this is the current solver. The current solver is the one in which rigid bodies will be added to.
currentTime (ct) time::zerooutputinputconnectablekeyable
This holds the value for time to be queried.
deltaTime (dtm) time::zerooutputinputhidden
The size of a time step in seconds.
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.
displayVelocity (dv) boolfalseoutputinputconnectablestorablekeyable
Turn on/off the display velocity vector.
dynamics (dyn) booltrueoutputinputconnectablestorablekeyable
Turn dynamics on/off.
forceDynamics (fdn) boolfalseoutputinputstorablehidden
By requesting this attribute, the rigid solver will be forced to evaluate.
friction (f) booltrueoutputinputconnectablestorablekeyable
Turn friction on/off.
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.
lastSceneTime (lst) time::zerooutputinputhidden
This is the scene time for the last time the dynamics was evaluated.
solverMethod (slm) enum2outputinputconnectablestorablehidden
Rigid body solver method attribute
bounciness (b) booltrueoutputinputconnectablestorablekeyable
Turn bounciness (sometimes referred to as restitution) on/off.
rigidBodyCount (rbc) integer0output
Number of rigid bodies in the solver.
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.
scaleVelocity (svv) double1.0outputinputconnectablestorablekeyable
Scale for the velocity vectors.
solving (sol) boolfalseoutputinputhidden
Indicates that we are solving.
startTime (stm) time::zerooutputinputconnectablestorable
The start time of the animation in seconds.
state (stt) booltrueoutputinputconnectablestorablekeyable
Turn on/off the solver
statistics (st) boolfalseoutputinputstorablehidden
This attribute is obsolete and should not be used.
stepSize (ss) double0.03outputinputstorable
The step the rigid solver takes to determine the rigid body solution.
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.