pymel.core.nodetypes.RigidSolver

Inheritance diagram of RigidSolver

class RigidSolver(*args, **kwargs)

class counterpart of mel function rigidSolver

This command sets the attributes for the rigid solver In query mode, return type is based on queried flag.

getAutoTolerances(**kwargs)

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)

Derived from mel command maya.cmds.rigidSolver

getBounciness(**kwargs)

Turns bounciness on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

getCacheData(**kwargs)

Turns the cache on fall all rigid bodies in the system. Default value: off

Derived from mel command maya.cmds.rigidSolver

getCollide(**kwargs)

Disallows the interpenetration of the two rigid bodies listed. Default: Collide is on for all bodies.

Derived from mel command maya.cmds.rigidSolver

getCollisionTolerance(**kwargs)

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

Derived from mel command maya.cmds.rigidSolver

getContactData(**kwargs)

Turns the contact data information on/off for all rigid bodies. Default value: off

Derived from mel command maya.cmds.rigidSolver

getDeleteCache(**kwargs)

Deletes the cache for all rigid bodies in the system.

Derived from mel command maya.cmds.rigidSolver

getDisplayCenterOfMass(**kwargs)

Displays the center of mass icon. Default value: on

Derived from mel command maya.cmds.rigidSolver

getDisplayConstraint(**kwargs)

Displays the constraint vectors. Default value: on

Derived from mel command maya.cmds.rigidSolver

getDisplayVelocity(**kwargs)

Displays the velocity vectors. Default value: off

Derived from mel command maya.cmds.rigidSolver

getDynamics(**kwargs)

Turns dynamics on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

getFriction(**kwargs)

Turns friction on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

getInterpenetrate(**kwargs)

Allows the two rigid bodies listed to interpenetrate. Default: interpenetration is off for all bodies.

Derived from mel command maya.cmds.rigidSolver

getRigidBodies(**kwargs)

Returns a list of rigid bodies in the solver.

Derived from mel command maya.cmds.rigidSolver

getRigidBodyCount(**kwargs)

Returns the number of rigid bodies in the solver.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.rigidSolver

getShowCollision(**kwargs)

Displays the colliding objects in a different color.

Derived from mel command maya.cmds.rigidSolver

getShowInterpenetration(**kwargs)

Displays the interpenetrating objects in a different color.

Derived from mel command maya.cmds.rigidSolver

getSolverMethod(**kwargs)

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)

Derived from mel command maya.cmds.rigidSolver

getStartTime(**kwargs)

Sets the start time for the solver.

Derived from mel command maya.cmds.rigidSolver

getState(**kwargs)

Turns the rigid solver on or off.

Derived from mel command maya.cmds.rigidSolver

getStatistics(**kwargs)

Turns the statistic information on/off for all rigid bodies. Default value: off

Derived from mel command maya.cmds.rigidSolver

getStepSize(**kwargs)

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

Derived from mel command maya.cmds.rigidSolver

getVelocityVectorScale(**kwargs)

scales the velocity vector display. Default value: 1.0

Derived from mel command maya.cmds.rigidSolver

interpenetrationCheck(val=True, **kwargs)

Checks for interpenetrating rigid bodies in the scene.

Derived from mel command maya.cmds.rigidSolver

setAutoTolerances(val=True, **kwargs)

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)

Derived from mel command maya.cmds.rigidSolver

setBounciness(val=True, **kwargs)

Turns bounciness on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

setCacheData(val=True, **kwargs)

Turns the cache on fall all rigid bodies in the system. Default value: off

Derived from mel command maya.cmds.rigidSolver

setCollide(val=True, **kwargs)

Disallows the interpenetration of the two rigid bodies listed. Default: Collide is on for all bodies.

Derived from mel command maya.cmds.rigidSolver

setCollisionTolerance(val=True, **kwargs)

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

Derived from mel command maya.cmds.rigidSolver

setContactData(val=True, **kwargs)

Turns the contact data information on/off for all rigid bodies. Default value: off

Derived from mel command maya.cmds.rigidSolver

setDeleteCache(val=True, **kwargs)

Deletes the cache for all rigid bodies in the system.

Derived from mel command maya.cmds.rigidSolver

setDisplayCenterOfMass(val=True, **kwargs)

Displays the center of mass icon. Default value: on

Derived from mel command maya.cmds.rigidSolver

setDisplayConstraint(val=True, **kwargs)

Displays the constraint vectors. Default value: on

Derived from mel command maya.cmds.rigidSolver

setDisplayVelocity(val=True, **kwargs)

Displays the velocity vectors. Default value: off

Derived from mel command maya.cmds.rigidSolver

setDynamics(val=True, **kwargs)

Turns dynamics on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

setFriction(val=True, **kwargs)

Turns friction on and off for the an the objects in the simulation. Default value: on

Derived from mel command maya.cmds.rigidSolver

setInterpenetrate(val=True, **kwargs)

Allows the two rigid bodies listed to interpenetrate. Default: interpenetration is off for all bodies.

Derived from mel command maya.cmds.rigidSolver

setShowCollision(val=True, **kwargs)

Displays the colliding objects in a different color.

Derived from mel command maya.cmds.rigidSolver

setShowInterpenetration(val=True, **kwargs)

Displays the interpenetrating objects in a different color.

Derived from mel command maya.cmds.rigidSolver

setSolverMethod(val=True, **kwargs)

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)

Derived from mel command maya.cmds.rigidSolver

setStartTime(val=True, **kwargs)

Sets the start time for the solver.

Derived from mel command maya.cmds.rigidSolver

setState(val=True, **kwargs)

Turns the rigid solver on or off.

Derived from mel command maya.cmds.rigidSolver

setStatistics(val=True, **kwargs)

Turns the statistic information on/off for all rigid bodies. Default value: off

Derived from mel command maya.cmds.rigidSolver

setStepSize(val=True, **kwargs)

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

Derived from mel command maya.cmds.rigidSolver

setVelocityVectorScale(val=True, **kwargs)

scales the velocity vector display. Default value: 1.0

Derived from mel command maya.cmds.rigidSolver

Previous topic

pymel.core.nodetypes.RigidConstraint

Next topic

pymel.core.nodetypes.Rock

Core

Core Modules

Other Modules

This Page