Getting set up
Last updated
Last updated
First you can first download and import the package on the asset store here:
If you don't set up the layers then the effects won't work.
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.
Launch the scene CollisionBasedEffects.unity located in:
ProcedurallyPropagatingEffects/Scenes/CollisionBasedEffects.unity
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)
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:
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: