Go to: Attributes.

RigidBody Constraint

This node is is from the "bullet" plugin

Node name Parents MFn type Compatible function sets
bulletRigidBodyConstraintShape MPxLocatorNode

Attributes (5)

rigidBodyA, rigidBodyB, constraintType, useReferenceFrame, linearDamping, linearSoftness, linearRestitution, angularDamping, angularSoftness, angularRestitution, linearMotorEnabled, linearMotorTargetSpeed, linearMotorMaxForce, angularMotorEnabled, angularMotorTargetSpeed, angularMotorMaxForce, linearConstraintX, linearConstraintY, linearConstraintZ, angularConstraintX, angularConstraintY, angularConstraintZ, linearConstraintMin, linearConstraintMax, angularConstraintMin, angularConstraintMax, linearLimitSoftness, linearLimitBias, linearLimitRelaxation, angularLimitSoftness, angularLimitBias, angularLimitRelaxation, solverInitialized, startTime, currentTime, outConstraintData,

Long name (short name) Type Default Flags
rigidBodyA (rba) BulletRigidBodyData::id readable input
RigidBody to be constrained
rigidBodyB (rbb) BulletRigidBodyData::id readable input
RigidBody to be constrained
constraintType (contyp) enum 0 readable input
Constraint type for linking RigidBodies.
useReferenceFrame (reffrm) enum kReferenceFrameA readable input
Frame of Reference for the constraint axis and limits
linearDamping (lindamp) float readable input
Linear damping for the body (slider)
linearSoftness (linsoft) float readable input
Linear softness for the body (slider)
linearRestitution (linrestit) float readable input
Linear restitution for the body (slider)
angularDamping (angdamp) float readable input
Angular damping for the body (point, slider, coneTwist)
angularSoftness (angsoft) float readable input
Angular softness for the body (slider)
angularRestitution (angrestit) float readable input
Angular restitution for the body (slider)
linearMotorEnabled (linmotor) bool false readable input keyable
Enable powered motor to push linearly (slider)
linearMotorTargetSpeed (linmotortvel) float 0.0 readable input keyable
Powered motor target speed
linearMotorMaxForce (linmotormaxf) float 0.0 readable input keyable
Powered motor max force
angularMotorEnabled (angmotor) bool false readable input keyable
Enable powered motor to spin (hinge, slider, coneTwist)
angularMotorTargetSpeed (angmotortvel) float 0.0 readable input keyable
Powered motor target spin speed
angularMotorMaxForce (angmotormaxf) float 0.0 readable input keyable
Powered motor max force
linearConstraintX (linconx) enum 0 readable input
Constrain linear axis (translation) (Slider, 6DOF Constraint)
linearConstraintY (lincony) enum 0 readable input
Constrain linear axis (translation) (6DOF Constraint)
linearConstraintZ (linconz) enum 0 readable input
Constrain linear axis (translation) (6DOF Constraint)
angularConstraintX (angconx) enum 0 readable input
Constrain linear axis (translation) (Slider, ConeTwist, 6DOF Constraint)
angularConstraintY (angcony) enum 0 readable input
Constrain linear axis (translation) (ConeTwist, 6DOF Constraint)
angularConstraintZ (angconz) enum 0 readable input
Constrain linear axis (translation) (Hinge, 6DOF Constraint, ConeTwist)
linearConstraintMin (lcmin) point
Minimum limits for linear constraints (6DOF Constraint)
linearConstraintMax (lcmax) point
Maximum limits for linear constraints (6DOF Constraint)
angularConstraintMin (acmin) point
Minimum limits for linear constraints (6DOF Constraint)
angularConstraintMax (acmax) point
Maximum limits for linear constraints (6DOF Constraint)
linearLimitSoftness (linlimsoft) float 1.0 readable input
Linear limit softness for the body (hinge, slider, coneTwist)
linearLimitBias (linlimbias) float 0.3 readable input
Linear limit bias for the body (hinge, slider, coneTwist)
linearLimitRelaxation (linlimrelax) float 1.0 readable input
Linear limit relaxation for the body (hinge, slider, coneTwist)
angularLimitSoftness (anglimsoft) float 1.0 readable input
Angular limit softness for the body (hinge, slider, coneTwist)
angularLimitBias (anglimbias) float 0.3 readable input
Angular limit bias for the body (hinge, slider, coneTwist)
angularLimitRelaxation (anglimrelax) float 1.0 readable input
Angular limit relaxation for the body (hinge, slider, coneTwist)
solverInitialized (solinit) BulletSolverData::id readable input
SolverData pointer to the initialized solver. Also makes sure data processed in the correct order for new/delete and add/remove.
startTime (st) time hidden
Initializing time for the shape. REVISIT
currentTime (ct) time
Current time for the solver
outConstraintData (outcondata) BulletRigidBodyConstraintData::id output
Current RigidBody Constraint data pointer.