SimulateRigidBodiesNode

Associated Parameters: SimulateRigidBodies

Introduced

7.0

UI Location

• Simulation

Description

Moves particles as if each of them were rigid bodies. Particles will intercollide based on their shape and collide with the input obstacle objects. More specifically, the node updates the position, velocity, orientation, and angular velocity of particles based on the following attributes:

- PointPosition (previous)

- PointVelocity (previous)

- Orientation (previous)

- AngularVelocity (previous)

- Shape

- Size

- Scale

- StaticFriction

- DynamicFriction

- Mass

- Force

- Elasticity

The shape specifies the collision shape of the rigid bodies. Some shapes are approximated as follows: discs and rectangles are approximated as boxes; cones, cylinders and segments are approximated as capsules.

Parameters

Parameter Name

Scripting Name

Type

Description

Reference

reference

String

Full Name

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

mute

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingletonOrComponent0D

Turns off the rigid body simulation.

0

1

inname

Type: siICENodeDataReference

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Allows daisy chaining nodes to specify the reference. The scene path connected in this port is appended as a prefix to the reference string of the node.

active bodies

1

collide

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingletonOrComponent0D

Specifies whether the particles collide with each other and with the obstacles.

precision

1

precision

Type: siICENodeDataLong

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies the maximum simulation frequency allowed. A precision of 60 means that the longest simulation substep would be 1/60 seconds.

obstacle

1..N

active

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies whether the obstacle collides with the particles.

geometry

Type: siICENodeDataGeometry

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The obstacle geometry. The obstacle collision is approximated to the convex hull of the geometry.

elasticity

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The elasticity of the obstacle material. The elasticity is combined with the Elasticity attribute on each particle to determine how much each particle bounces off this obstacle.

staticfriction

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The static friction of the obstacle material. The static friction is combined with the StaticFriction attribute on each particle to determine how each particle starts sliding on the obstacle when it is at rest.

dynamicfriction

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

The dynamic friction of the obstacle material. The dynamic friction is combined with the DynamicFriction attribute on each particle to determine how each particle slides on the obstacle when in motion.

Outputs

Port Name

Connection Info

Description

simulate

Type: siICENodeDataExecute

Structure: siICENodeStructureSingle

Context: siICENodeContextSingletonOrComponent0D

The port to connect so the node executes.

outname

Type: siICENodeDataReference

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Allows daisy chaining nodes. Connect this port into the In Name port of another node to prefix the reference of the other node with the reference of this node.

Restrictions

• These structures must match: active, geometry, elasticity, staticfriction, dynamicfriction

• These structures must match: mute, collide, precision

• These contexts must match: mute, collide, precision, simulate

See Also

SimulateParticlesNode



Autodesk Softimage v7.5