Destructing Elements in Maya With PullDownIt: Part 7
1. Setting Up Particle Emission
Jump in the Dynamics mode so
that you get the dynamics menu items.
Go to Particles > Create Emitter
and click on the option box.
In the Emitter Options box, give
the emitter a name as Particles Emission.
Set the values of Emitter type to Volume and Volume shape
to Cylinder and then click on Create button to create the emitter
in the viewport.
The default timeline length is up to 24 frames only. You need to
Increase the frames number on the timeline because in order to view the
particles act, you need more numbers of frames. Increase the frame numbers to 300
as shown in the following image.
With the emitter icon selected, press Ctrl-A
to go to Attribute Editor of the
emitter. Here set the values of Away From Axis to 3 and Along
Axis to 8.
Go to first frame on the timeline and set the value of Rate (Particles/Sec) to 300 and click on Set Key option.
Move to the fifth frame on the timeline and change the value of Rate (Particles/Sec) to 0 and click on Set Key option.
To make the particles fall on the ground, you need to apply the gravity
field in the scene. So, with the particles selected, go to Fields > Gravity and apply the gravity.
You can also show the particles to react with the ground
plane. To create the ground plane, go to Create
> Polygon Primitives > Plane and drag and draw a plane in the
To collide the particles with the ground, first select the particles
followed by the plane and then go to Particles
> Make Collide.
With the plane selected, go to geoConnector1
attribute and set the values of Resilience to 0.250 and Friction
2. Setting Up Particle Emission
Create a sphere in the perspective view port as shown in the following
With the sphere selected, go to PulldownIt shelf menu and click on
the ShatterIt feature icon.
In the ShatterIt feature window, set the value of Num Shards
to 30 and click on Shatter It! Button. The sphere gets shattered
in 30 pieces.
Open Outliner window. You can see the different broken parts of the
sphere inside the pdiShatterGroup. With all chunks selected inside the Outliner
window, scale down the size of the chunks by using Scale tool.
Create a new layer for the chunks as shown in the following image.
With all chunks selected, go to Particles > Instancer (Replacement)
and click on the option box.
In the Particles Instancer Options box, set the name as Fragments and with all instanced objects selected, click on the Create button.
Press the Play button and you will see chunks coming
out from the particle emitter.
With the particles selected, go to particleShape1 attribute
and click on General tab.
In the Add Attribute window, set the Long Name as Fragments
and Attribute Type as Per Particle (Array). Click on OK
Make a right mouse click on the Fragments attribute and select Create
In the Expression Editor, write the expression as particleShape1.Fragments
= rand (0,40); and then click on Create button.
Go to Instancer (Geometry Replacement) tab and set Object Index
Press the Play button and you will see the random explosion of the
In the next part of the tutorial, I’ll show some more aspects of shattering objects using PDI in Maya.