An interactive butterfly effect created in Unity, where butterflies gracefully flutter around and will be drawn to the approaching player. Upon contact, butterflies emit an ethereal sound, dissolve into soft glimmer and gradually disappear.
Particle System
- Particle Setup
-
Configured particle size, lifetime, and a sphere-shaped emission area.
- Created a particle system simulating butterflies with natural movement using Noise, Limit Velocity over Lifetime, and Lights modules.
- Custom Textures and Animations
- Designed trail textures and a butterfly sprite sheet in Photoshop. Applied these with Stretched Billboard render mode.
-
Discarded an initial wing-flapping method using mesh rotation due to collision issues, favoring Texture Sheet Animation.
- External Forces and Collisions
- Added spherical wind zones to mimic natural movement and player attraction.
- Enabled Collision with lifetime loss upon impact and used Sub Emitters to spawn glowing particles that shrink and disappear.
- Player Attraction: Added a collider and wind zone on the player to attract butterflies within a range.
- Sound Effects: Scripts triggered randomized pitch and volume wind chime sounds on butterfly collisions, creating a dynamic audio experience.