Time for action – create a particle system
We've learned these steps before—no surprises here. Now let's review how to create a Particle System so that we can get a shattering glass effect for when our steins hit the pavement:
Go to GameObject | Create Other | Particle System in the menu.
Rename the new Particle System as
Glass Smash
.Hover the cursor over the Scene view and press the F key to focus the camera on your Particle System. You may have to orbit the camera if the apartment building gets in the way (hold down the Alt key and click/drag to do this).
In the Inspector panel, use the following settings (keep all other settings at their default):
Duration: 0.25
Looping: Unchecked
Start Lifetime: 0.2
Start Speed: 100
Start Size: 0.75
Gravity Multiplier: 50
In the Emission section:
Rate: 100
In the Shape section:
Shape: HemiSphere
Radius: 3
Emit from Shell: Checked
Finally, uncheck Cast Shadows and Receive Shadows in the Renderer section.
What just happened – getting smashed
After punching...