Your Ad Here

Go to: Synopsis. Flags. Return value. Related.

Synopsis

rigidSolver([autoTolerances=boolean], [bounciness=boolean], [cacheData=boolean], [collide=[string, string]], [collisionTolerance=float], [contactData=boolean], [create=boolean], [current=boolean], [deleteCache=boolean], [displayCenterOfMass=boolean], [displayConstraint=boolean], [displayVelocity=boolean], [dynamics=boolean], [friction=boolean], [interpenetrate=[string, string]], [interpenetrationCheck=boolean], [rigidBodies=boolean], [rigidBodyCount=boolean], [showCollision=boolean], [showInterpenetration=boolean], [solverMethod=int], [startTime=double], [state=boolean], [statistics=boolean], [stepSize=float], [velocityVectorScale=float])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

rigidSolver is undoable, queryable, and editable.

This command sets the attributes for the rigid solver

Flags

autoTolerances, bounciness, cacheData, collide, collisionTolerance, contactData, create, current, deleteCache, displayCenterOfMass, displayConstraint, displayVelocity, dynamics, friction, interpenetrate, interpenetrationCheck, rigidBodies, rigidBodyCount, showCollision, showInterpenetration, solverMethod, startTime, state, statistics, stepSize, velocityVectorScale
Long name (short name) [argument types] Properties
create(cr) boolean
Creates a new rigid solver.
current(cu) boolean
Sets rigid solver as the current solver.
interpenetrationCheck(ic) boolean edit
Checks for interpenetrating rigid bodies in the scene.
interpenetrate(i) [string, string] queryedit
Allows the two rigid bodies listed to interpenetrate. Default: interpenetration is off for all bodies.

In query mode, this flag needs a value.

collide(c) [string, string] queryedit
Disallows the interpenetration of the two rigid bodies listed. Default: Collide is on for all bodies.

In query mode, this flag needs a value.

showInterpenetration(si) boolean queryedit
Displays the interpenetrating objects in a different color.

In query mode, this flag needs a value.

showCollision(sc) boolean queryedit
Displays the colliding objects in a different color.

In query mode, this flag needs a value.

autoTolerances(at) boolean queryedit
Turns the auto tolerance calculation on and off. The auto tolerances calculation will override the default or user defined values of the step size and collision tolerance value that is calculated based on the objects in the scene. Default: 0 (off)

In query mode, this flag needs a value.

stepSize(s) float queryedit
Sets the solvers step size. This is the maximum size of a single step the solver will take at one time. Range: 0.0004 - 0.100 Default: 0.0333

In query mode, this flag needs a value.

collisionTolerance(ct) float queryedit
Sets the collision tolerance. This is the error at which two objects are considered to have collided. Range: 0.0005 - 1.000 Default: 0.02

In query mode, this flag needs a value.

friction(f) boolean queryedit
Turns friction on and off for the an the objects in the simulation. Default value: on

In query mode, this flag needs a value.

bounciness(b) boolean queryedit
Turns bounciness on and off for the an the objects in the simulation. Default value: on

In query mode, this flag needs a value.

dynamics(d) boolean queryedit
Turns dynamics on and off for the an the objects in the simulation. Default value: on

In query mode, this flag needs a value.

solverMethod(sm) int queryedit
Sets the solver method. The choices are 0 | 1 | 2. 0 = Euler (fastest/least acurate), 1 = Runge-Kutta ( slower/more acurate), 2 = adaptive Runge-Kutta (slowest/most acurate). The default is 2 (adaptive Runge-Kutta)

In query mode, this flag needs a value.

displayVelocity(dv) boolean queryedit
Displays the velocity vectors. Default value: off

In query mode, this flag needs a value.

displayCenterOfMass(dcm) boolean queryedit
Displays the center of mass icon. Default value: on

In query mode, this flag needs a value.

velocityVectorScale(vs) float queryedit
scales the velocity vector display. Default value: 1.0

In query mode, this flag needs a value.

displayConstraint(dc) boolean queryedit
Displays the constraint vectors. Default value: on

In query mode, this flag needs a value.

cacheData(cd) boolean queryedit
Turns the cache on fall all rigid bodies in the system. Default value: off

In query mode, this flag needs a value.

deleteCache(deleteCache) boolean queryedit
Deletes the cache for all rigid bodies in the system.

In query mode, this flag needs a value.

startTime(stt) double createqueryedit
Sets the start time for the solver.

In query mode, this flag needs a value.

state(st) boolean queryedit
Turns the rigid solver on or off.

In query mode, this flag needs a value.

contactData(ctd) boolean queryedit
Turns the contact data information on/off for all rigid bodies. Default value: off

In query mode, this flag needs a value.

statistics(sta) boolean queryedit
Turns the statistic information on/off for all rigid bodies. Default value: off

In query mode, this flag needs a value.

rigidBodies(rb) boolean query
Returns a list of rigid bodies in the solver.

In query mode, this flag needs a value.

rigidBodyCount(rbc) boolean query
Returns the number of rigid bodies in the solver.

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Return value


None

Related

constrain, rigidBody

Return to Autodesk Index


Your Ad Here