The rigid node contains the attributes for the rigid body. This
node controls the active rigid body behavior of a polygonal or
nurbs shape. If the object is a nurbs shape the shape is
tessellated for collisions. The tessellated shape is then passed to
the rigid solver. This node also includes a cache which the user
can turn on on a per rigid body basis. This node moniters the
mesh/nurbs shape to determine if the shape's surface changes via a
scale or some form of deformation. If the shape is changed the
surface is re-tessellated and passed to the rigid solver.
Long name (short name) |
Type |
Default |
Flags |
|
currentTime
(ct ) |
time |
0film |
|
|
rigidWorldMatrix
(rmx ) |
matrix |
identity |
|
|
inputGeometryMsg
(igm ) |
Message |
n/a |
|
|
fieldConnections
(fc ) |
Message |
n/a |
|
|
runUpCache
(rc ) |
doubleArray |
empty |
|
|
dataCache
(dc ) |
doubleArray |
empty |
|
|
firstCachedFrame
(fcf ) |
integer |
0 |
|
|
lastCachedFrame
(lcf ) |
integer |
0 |
|
|
cachedFrameCount
(cfc ) |
integer |
0 |
|
|
cacheDirtyArray
(cda ) |
intArray |
empty |
|
|
contactName
(cnn ) |
string |
NULL |
|
|
interpenetrateWith
(itw ) |
Message |
n/a |
|
|
initialPosition
(ip ) |
double3 |
0, 0, 0 |
|
|
initialPositionX
(ipx ) |
double |
0.0 |
|
|
|
initialPositionY
(ipy ) |
double |
0.0 |
|
|
|
initialPositionZ
(ipz ) |
double |
0.0 |
|
|
|
lastPosition
(lp ) |
double3 |
0, 0, 0 |
|
|
lastPositionX
(lpx ) |
double |
0.0 |
|
|
|
lastPositionY
(lpy ) |
double |
0.0 |
|
|
|
lastPositionZ
(lpz ) |
double |
0.0 |
|
|
|
lastRotation
(lr ) |
double3 |
0, 0, 0 |
|
|
lastRotationX
(lrx ) |
double |
0.0 |
|
|
|
lastRotationY
(lry ) |
double |
0.0 |
|
|
|
lastRotationZ
(lrz ) |
double |
0.0 |
|
|
|
initialOrientation
(ior ) |
double3 |
0, 0, 0 |
|
|
initialOrientationX
(iox ) |
angle (double) |
0.0deg |
|
|
|
initialOrientationY
(ioy ) |
angle (double) |
0.0deg |
|
|
|
initialOrientationZ
(ioz ) |
angle (double) |
0.0deg |
|
|
|
initialVelocity
(iv ) |
double3 |
0, 0, 0 |
|
|
initialVelocityX
(ivx ) |
double |
0.0 |
|
|
|
initialVelocityY
(ivy ) |
double |
0.0 |
|
|
|
initialVelocityZ
(ivz ) |
double |
0.0 |
|
|
|
initialSpin
(is ) |
double3 |
0, 0, 0 |
|
|
initialSpinX
(isx ) |
angle (double) |
0.0deg |
|
|
|
initialSpinY
(isy ) |
angle (double) |
0.0deg |
|
|
|
initialSpinZ
(isz ) |
angle (double) |
0.0deg |
|
|
|
centerOfMass
(com ) |
double3 |
0, 0, 0 |
|
|
centerOfMassX
(cmx ) |
double |
0.0 |
|
|
|
centerOfMassY
(cmy ) |
double |
0.0 |
|
|
|
centerOfMassZ
(cmz ) |
double |
0.0 |
|
|
|
impulse
(imp ) |
double3 |
0, 0, 0 |
|
|
impulseX
(imx ) |
double |
0.0 |
|
|
|
impulseY
(imy ) |
double |
0.0 |
|
|
|
impulseZ
(imz ) |
double |
0.0 |
|
|
|
impulsePosition
(ipo ) |
double3 |
0, 0, 0 |
|
|
impulsePositionX
(pix ) |
double |
0.0 |
|
|
|
impulsePositionY
(piy ) |
double |
0.0 |
|
|
|
impulsePositionZ
(piz ) |
double |
0.0 |
|
|
|
spinImpulse
(sim ) |
double3 |
0, 0, 0 |
|
|
spinImpulseX
(six ) |
double |
0.0 |
|
|
|
spinImpulseY
(siy ) |
double |
0.0 |
|
|
|
spinImpulseZ
(siz ) |
double |
0.0 |
|
|
|
mass
(mas ) |
double |
1.0 |
|
|
volume
(vol ) |
double |
0.0 |
|
|
bounciness
(b ) |
double |
0.6 |
|
|
damping
(dp ) |
double |
0.0 |
|
|
staticFriction
(sf ) |
double |
0.2 |
|
|
dynamicFriction
(df ) |
double |
0.2 |
|
|
collisionLayer
(cl ) |
integer |
0 |
|
|
standIn
(si ) |
enum |
0 |
|
|
inputGeometryCnt
(igc ) |
integer |
0 |
|
|
active
(act ) |
bool |
true |
|
|
choice
(chc ) |
integer |
0 |
|
|
isKinematic
(kin ) |
bool |
false |
|
|
isKeyframed
(key ) |
bool |
false |
|
|
isParented
(par ) |
bool |
false |
|
|
particleCollision
(pc ) |
bool |
false |
|
|
autoInit
(ai ) |
bool |
true |
|
|
allowDisconnection
(ad ) |
bool |
false |
|
|
cacheData
(idc ) |
bool |
false |
|
|
tessellationFactor
(tes ) |
integer |
200 |
|
|
velocity
(vel ) |
double3 |
0, 0, 0 |
|
|
velocityX
(vx ) |
double |
0.0 |
|
|
|
velocityY
(vy ) |
double |
0.0 |
|
|
|
velocityZ
(vz ) |
double |
0.0 |
|
|
|
spin
(sp ) |
double3 |
0, 0, 0 |
|
|
|
|
|
contactCount
(cct ) |
integer |
0 |
|
|
contactPosition
(cnp ) |
double3 |
|
|
|
contactX
(cnx ) |
double |
0.0 |
|
|
|
contactY
(cny ) |
double |
0.0 |
|
|
|
contactZ
(cnz ) |
double |
0.0 |
|
|
|
force
(for ) |
double3 |
0, 0, 0 |
|
|
|
|
|
torque
(tor ) |
double3 |
0, 0, 0 |
|
|
torqueX
(trx ) |
angle (double) |
0.0deg |
|
|
|
torqueY
(try ) |
angle (double) |
0.0deg |
|
|
|
torqueZ
(trz ) |
angle (double) |
0.0deg |
|
|
|
lastSceneTime
(lst ) |
time |
0film |
|
|
fieldData
(fld ) |
compound |
n/a |
|
|
fieldDataPosition
(fdp ) |
vectorArray |
empty |
|
|
|
fieldDataVelocity
(fdv ) |
vectorArray |
empty |
|
|
|
fieldDataMass
(fdm ) |
doubleArray |
empty |
|
|
|
deltaTime
(dt ) |
time |
0film |
|
|
|
inputForce
(ifr ) |
vectorArray |
empty |
|
|
inputForceType
(ift ) |
bool |
false |
|
|
collisionRecords
(crc ) |
genericArray |
empty |
|
|
generalForce
(gfr ) |
compound |
n/a |
|
|
outputForce
(ofr ) |
vectorArray |
empty |
|
|
|
outputTorque
(otr ) |
vectorArray |
empty |
|
|
|
solverId
(sid ) |
integer |
-1 |
|
|
bakeSimulationIndex
(bsi ) |
integer |
-1 |
|
|
shapeChanged
(sc ) |
integer |
false |
|
|
lockCenterOfMass
(lcm ) |
bool |
false |
|
|
ignore
(ign ) |
bool |
false |
|
|
collisions
(col ) |
bool |
true |
|
|
applyForceAt
(afa ) |
enum |
1 |
|
|
debugDraw
(dd ) |
bool |
false |
|