On this page

Overview

The RBD Bullet Solver SOP has the ability to continuously emit extra RBD objects dynamically during a simulation. You can do this by turning on the Emit RBDs checkbox located on the Bullet Object tab. This will pull in the simulation geometry as well as the constraint geometry and add it to the simulation.

Example: Setting up a simple sphere emitter

  1. Create a Sphere at the origin using the tool on the Create shelf.

  2. Dive down to the geometry level and decrease the Uniform Scale to 0.2, change the Primitive Type to Polygon, with a Frequency of 8.

  3. Move it up so that it’s sitting flush on the ground plane by increasing the Y value of the Center parameter to 0.2.

  4. Append an RBD Configure SOP to the sphere. This will set up your sphere as a rigid body object without any breaking.

  5. Wire in an Attribute Randomize node between the sphere and RBD Configure SOP, and change the Attribute Name to v to randomize the velocity of the emissions.

  6. Set the Min Value to 0, 1, 0.5 and the Max Value to 0, 15, 5. This will give the emissions upward and diagonal velocity.

  7. Append an RBD Bullet Solver SOP after the RBD Configure SOP and connect the 3 outputs to the first 3 inputs.

  8. On the Collision tab and go to Ground Collision. There, change the Ground Type dropdown from None to Ground Plane.

  9. On the Setup tab, turn on the Emit RBDs checkbox in the Simulation sub-pane.

    If you press in the playbar, you will notice that the RBD Bullet Solver SOP will emit a sphere on every frame. You can increase the cache memory for emitting rigid bodies. In the solver’s Advanced tab, open the Emission Solver sub-pane and enter a new value for Emission Cache Memory.

  10. Create a Switch SOP and wire in a Null SOP to its input.

  11. In the Select Input field, use the expression $FF%8==1. This will toggle the switch every 8 frames.

  12. Copy and paste the Switch SOP 3 times, wire in the constraints and proxy geometry, and then connect the outputs to the RBD Bullet Solver.

    Note

    You may have to click the Reset Simulation button on the RBD Bullet Solver SOP before playing your simulation again once you've made changes to the network.

  13. If you want to have the spheres break apart, you can replace the RBD Configure SOP with an RBD Material Fracture SOP and wire them into the respective switches.

    If you click Reset Simulation and press in the playbar, you will notice that the spheres are not breaking apart. This is because the strength of the internal constraints are too high.

  14. On the Constraints tab of the RBD Material Fracture SOP, reduce the Primary Strength parameter to 45.

  15. Press in the playbar to play the simulation.

Destruction

RBD Material Fracturing

Next steps

Introduction to Material Based Destruction

  • Getting Started

    Loading the source scene and exploring it.

  • Tutorial

    Step by step introduction to material based destruction.