bulletSolverShape Node

 
 
 

The Bullet Solver is used to handle softBodies, rigidBodies, and soft body anchors.

Node name Parents MFn type Compatible function sets
bulletSolverShape   MPxLocatorNode  

Attributes

The bulletSolverShape Node has 18 attributes (useMayaFields bool default off):

Long name (short name) Type Default Flags

enableSimulation (en)

bool    
Toggle the simulation on/off

startTime (st)

time 1.0  
Initialization time for the solver

debugDraw (dbgdraw)

bool    
Toggle debug display on/off

splitImpulse (spimp)

bool true readable input
This split impulse solver setting can be useful in simulations where objects might start in penetration. Split impulse separates the position/penetration constraint solving from velocity constraints

solverAcceleration (sacc)

enum kSolverAccelerationNone  
Solver acceleration

internalFixedFrameRate (ifr)

enum 60  
Solver internal frame rate

maxNumIterations (mni)

int 10 keyable
Magnitude of the wind field

gravity (gr)

point 0.0f, -9.8f, 0.0f keyable
Gravity field

windMagnitude (wmag)

float   storable input keyable
Magnitude of the wind field (Note: only affects SoftBodies)

windDirection (wdir)

point   storable input keyable
Direction of the wind field (Note: only affects SoftBodies)

currentTime (ct)

time    
Current time for the solver

collisionFilters (cf)

string array   storable
Collision filters names. There are 16 available names with the first 7 reserved, The reserved filters are named: DefaultFilter(0), StaticFilter(1), KinematicFilter(2), DebrisFilter(3), SensorTrigger(4), CharacterFilter(5). User defined filter names, by default, start with the prefix 'UserFilter' followed by the number of the filter for example UserFilter7.

rigidBodies (rb)

BulletRigidBodyData::id   input connectable array
array of input rigid bodies in the dynamics system

softBodies (sb)

BulletSoftBodyData::id   input connectable array
array of input soft bodies in the dynamics system

softConstraints (sc)

BulletSoftConstraintData::id   input connectable array
array of input soft body constraints in the dynamics system

rigidBodyConstraints (rbc)

BulletRigidBodyConstraintData::id   input connectable array
array of input soft body constraints in the dynamics system

outSolverInitialized (solinitdata)

BulletSolverData::id   input connectable
SolverData initialized to give a pointer to the World. Its information is calculate before the solver timestep is updated.

outSolverUpdated (soldata)

BulletSolverData::id   input connectable
SolverData that is presented after the simulation is up to date for the current frame

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License