- Home /
Question by
Onionvision · Jul 26, 2012 at 06:29 PM ·
collisionsoundhorror
How to reproduce a sound when my character collide
Hi everyone, how can i reproduce a scream when my firt person character collide with an invisible box? Bye
Comment
Duplicate Question http://answers.unity3d.com/questions/291006/how-to-reproduce-a-sound-on-collision.html
you question was in the moderation que and so it didn't appear at first =]
Answer by Piflik · Jul 26, 2012 at 06:46 PM
Have an invisible box with a collider or trigger (depending on what your character has), add a AudioClip variable and a AudioSource to the player and play the clip OnTriggerEnter/OnCollisionEnter.
Your answer
Follow this Question
Related Questions
help sound on collision when key down 2 Answers
Objectives/Goals 1 Answer
Sound on collisions 1 Answer
How to reproduce a sound on collision? 1 Answer
My charector doesnt die when i collide with the enemy 2 Answers