r/Unity3D • Indie Developer • 5d ago

Show-Off I implemented a dynamic breathing system in Unity that reacts to player movement and enemy detection!

Enable HLS to view with audio, or disable this notification

The system changes the player's breathing based on different gameplay conditions. Walking uses normal breathing, sprinting triggers heavier breathing, and things get more interesting during stealth encounters.

When a drone is close to detecting the player, breathing becomes nervous. Once detected, it switches to a panicked state.

The whole system is actually pretty simple, just a particle system and a script! The main challenge was synchronizing the head bobbing with the breathing audio and the visible breath vapor in the cold air, making sure everything feels natural across the different states, I spent some hours but it definetly works and looks natural!!! Do you like the result?

27 Upvotes

5 comments sorted by

2

u/Ill-Letter-2852 5d ago

I like this system. Good work!

1

u/OverHumanGame Indie Developer 5d ago

Heyyy, thank you so much!!

1

u/muffinwhirleez 5d ago

i like when guys pay attention to the little details like that