🛠️Getting set up
Download the package
First you can first download and import the package on the asset store here:
Try it out!
⚠️ Important ⚠️ Set up the physics layers
If you don't set up the layers then the effects won't work.
In the inspector, create two physical layers. One for the player and one for the projectile.
You can just click any GO in your scene and add them from there:
Then in the physics settings, set the new layers as follow:
Make sure you assign the Player layer to the player GO in the scene and its children.

Finally, assign the projectile layer to the object spawner prefabs in this folder, and also to the prefab located in the scene.
Open the scene
Launch the scene CollisionBasedEffects.unity located in:
ProcedurallyPropagatingEffects/Scenes/CollisionBasedEffects.unity
Controls
Move around with WASD
Look around with the mouse
Fire a projectile that will spawn an effect with Left-Click
Change effect by pressing 1, 2 or 3 (not on the numpad)
Alternative
From version 1.0.1 and above, you can also open the scene ProcedurallyPropagatingEffects/Scenes/ClickBasedEffects.unity and enter play mode. There you can move around the camera like you would in the scene window, and left click to spawn some ants.
You can customize the effects by modifying the prefabs located in:
ProcedurallyPropagatingEffects/Prefabs/ObjectSpawner
To know more about how to modify them, visit:
📚ReferenceLast updated