pymel.core.nodetypes.RigidBody

Inheritance diagram of RigidBody

class RigidBody(*args, **kwargs)

class counterpart of mel function rigidBody

This command creates a rigid body from a polygonal or nurbs surface.

deleteCache(val=True, **kwargs)

Deletes the cache (if one exists) of the rigid body.

Derived from mel command maya.cmds.rigidBody

getActive(**kwargs)

Creates a rigid body that is active. An active rigid body accepts and causes collisions and is effected by dynamic fields. This is the default.

Derived from mel command maya.cmds.rigidBody

getAngularVelocity(**kwargs)

Current angular velocity of rigid body.

Derived from mel command maya.cmds.rigidBody

getApplyForceAt(**kwargs)

Determines how forces are applied to the rigid body. The choices are centerOfMass | boundingBox | verticesOrCVs. Default: boundingBox

Derived from mel command maya.cmds.rigidBody

getBounciness(**kwargs)

Sets the restitution (or bounciness) of the rigid body. Range: 0.0 - 2.0 Default: 0.6

Derived from mel command maya.cmds.rigidBody

getCache(**kwargs)

Turns caching on (1) or off (0) for the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

getCenterOfMass(**kwargs)

Sets the center of mass (x,y,z) of the rigid body. Default: actual center of mass.

Derived from mel command maya.cmds.rigidBody

getCollisions(**kwargs)

Truns collisions on/off for the rigid body. If the collisions are turned of the rigid body will not collide with any other rigid body. Default: on.

Derived from mel command maya.cmds.rigidBody

getContactCount(**kwargs)

returns the current contact count for the rigid body.

Derived from mel command maya.cmds.rigidBody

getContactName(**kwargs)

returns all the rigid body names which are in contact with this shape. One name for each contact will be returned.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.rigidBody

getContactPosition(**kwargs)

returns all the contact position. One position for each contact will be returned.

Derived from mel command maya.cmds.rigidBody

getDamping(**kwargs)

Sets the damping value of the rigid body. Range: -2.0 - 2.0 Default: 0.0

Derived from mel command maya.cmds.rigidBody

getDynamicFriction(**kwargs)

Sets the dynamic friction for the rigid body. Range: 0.0 - 1.0 Default: 0.2

Derived from mel command maya.cmds.rigidBody

getForce(**kwargs)

Current force on the rigid body.

Derived from mel command maya.cmds.rigidBody

getIgnore(**kwargs)

Causes the rigid body to be ignored in the rigid solver. Default: off

Derived from mel command maya.cmds.rigidBody

getInitialAngularVelocity(**kwargs)

Sets the initial angular velocity of the rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

getInitialVelocity(**kwargs)

Sets the initial velocity of the rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

getLayer(**kwargs)

Sets the collision layer of the rigid body. Only rigid bodies in the same collision layer can collide with each other. Range: = 0 Default: 0.

Derived from mel command maya.cmds.rigidBody

getLockCenterOfMass(**kwargs)

Locks the center of mass for the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

getMass(**kwargs)

Sets the mass of the rigid body. Range: 0 Default: 1.0

Derived from mel command maya.cmds.rigidBody

getName(**kwargs)

Assigns the rigid body the given name.

Derived from mel command maya.cmds.rigidBody

getOrientation(**kwargs)

Sets the initial orientation (x,y,z) of the rigid body. Default: current orientation.

Derived from mel command maya.cmds.rigidBody

getParticleCollision(**kwargs)

Turns the ability for a rigid body to collide with particles on and off. The particles will exert a force on the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

getPassive(**kwargs)

Creates a rigid body that is passive. A passive rigid body does not react to collisions but active rigid bodies can collide with it. Dynamic Fields will not effect a passive rigid body. Only passive rigid bodies can be keyframed.

Derived from mel command maya.cmds.rigidBody

getPosition(**kwargs)

Sets the initial position (x,y,z) of the rigid body. Default: current position.

Derived from mel command maya.cmds.rigidBody

getSolver(**kwargs)

The name of the solver which this rigid node is to resided. If the solver does not exists then the rigid body will not be created. If the edit flag is thrown add the solver exists, the rigid body will be moved to that solver.

Derived from mel command maya.cmds.rigidBody

getStandInObject(**kwargs)

Causes the simulator to use a stand in object for the simulation. The choices are none | cube | sphere. The default is none. Default: none

Derived from mel command maya.cmds.rigidBody

getStaticFriction(**kwargs)

Sets the static friction for the rigid body. Range: 0.0 - 1.0 Default: 0.2

Derived from mel command maya.cmds.rigidBody

getTesselationFactor(**kwargs)

Sets the tesselation factor for a rigid body surface. Range: = 10 Default: 200.

Derived from mel command maya.cmds.rigidBody

getVelocity(**kwargs)

Current velocity of rigid body.

Derived from mel command maya.cmds.rigidBody

impulse(val=True, **kwargs)

Applies an impulse (instantaneous) force on a rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

impulsePosition(val=True, **kwargs)

The position at which the impulse is applied. Default: the bodies center of mass.

Derived from mel command maya.cmds.rigidBody

setActive(val=True, **kwargs)

Creates a rigid body that is active. An active rigid body accepts and causes collisions and is effected by dynamic fields. This is the default.

Derived from mel command maya.cmds.rigidBody

setApplyForceAt(val=True, **kwargs)

Determines how forces are applied to the rigid body. The choices are centerOfMass | boundingBox | verticesOrCVs. Default: boundingBox

Derived from mel command maya.cmds.rigidBody

setBounciness(val=True, **kwargs)

Sets the restitution (or bounciness) of the rigid body. Range: 0.0 - 2.0 Default: 0.6

Derived from mel command maya.cmds.rigidBody

setCache(val=True, **kwargs)

Turns caching on (1) or off (0) for the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

setCenterOfMass(val=True, **kwargs)

Sets the center of mass (x,y,z) of the rigid body. Default: actual center of mass.

Derived from mel command maya.cmds.rigidBody

setCollisions(val=True, **kwargs)

Truns collisions on/off for the rigid body. If the collisions are turned of the rigid body will not collide with any other rigid body. Default: on.

Derived from mel command maya.cmds.rigidBody

setDamping(val=True, **kwargs)

Sets the damping value of the rigid body. Range: -2.0 - 2.0 Default: 0.0

Derived from mel command maya.cmds.rigidBody

setDynamicFriction(val=True, **kwargs)

Sets the dynamic friction for the rigid body. Range: 0.0 - 1.0 Default: 0.2

Derived from mel command maya.cmds.rigidBody

setIgnore(val=True, **kwargs)

Causes the rigid body to be ignored in the rigid solver. Default: off

Derived from mel command maya.cmds.rigidBody

setInitialAngularVelocity(val=True, **kwargs)

Sets the initial angular velocity of the rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

setInitialVelocity(val=True, **kwargs)

Sets the initial velocity of the rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

setLayer(val=True, **kwargs)

Sets the collision layer of the rigid body. Only rigid bodies in the same collision layer can collide with each other. Range: = 0 Default: 0.

Derived from mel command maya.cmds.rigidBody

setLockCenterOfMass(val=True, **kwargs)

Locks the center of mass for the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

setMass(val=True, **kwargs)

Sets the mass of the rigid body. Range: 0 Default: 1.0

Derived from mel command maya.cmds.rigidBody

setName(val=True, **kwargs)

Assigns the rigid body the given name.

Derived from mel command maya.cmds.rigidBody

setOrientation(val=True, **kwargs)

Sets the initial orientation (x,y,z) of the rigid body. Default: current orientation.

Derived from mel command maya.cmds.rigidBody

setParticleCollision(val=True, **kwargs)

Turns the ability for a rigid body to collide with particles on and off. The particles will exert a force on the rigid body. Default: off

Derived from mel command maya.cmds.rigidBody

setPassive(val=True, **kwargs)

Creates a rigid body that is passive. A passive rigid body does not react to collisions but active rigid bodies can collide with it. Dynamic Fields will not effect a passive rigid body. Only passive rigid bodies can be keyframed.

Derived from mel command maya.cmds.rigidBody

setPosition(val=True, **kwargs)

Sets the initial position (x,y,z) of the rigid body. Default: current position.

Derived from mel command maya.cmds.rigidBody

setSolver(val=True, **kwargs)

The name of the solver which this rigid node is to resided. If the solver does not exists then the rigid body will not be created. If the edit flag is thrown add the solver exists, the rigid body will be moved to that solver.

Derived from mel command maya.cmds.rigidBody

setStandInObject(val=True, **kwargs)

Causes the simulator to use a stand in object for the simulation. The choices are none | cube | sphere. The default is none. Default: none

Derived from mel command maya.cmds.rigidBody

setStaticFriction(val=True, **kwargs)

Sets the static friction for the rigid body. Range: 0.0 - 1.0 Default: 0.2

Derived from mel command maya.cmds.rigidBody

spinImpulse(val=True, **kwargs)

Applies an spin impulse (instantaneous rotational) force on a rigid body. Default: 0.0 0.0 0.0

Derived from mel command maya.cmds.rigidBody

Previous topic

pymel.core.nodetypes.RgbToHsv

Next topic

pymel.core.nodetypes.RigidConstraint

Core

Core Modules

Other Modules

This Page