- Home /
how do you activate a sound effect when two objects with box colliders hit?
I have created a first person controller which can pick up and drag objects with rigid bodys. I was wondering how it would be possible to activate a sound effect if i were to drag and drop one of these ridged bodied objects onto an object which has a box collider. The objects i can pick and drag also have box colliders. Im assuming this is a pretty standard box collider/box collider hit activation, but im just starting out with unity so wouldn't have a clue where to start.
My aim is so that when i drag and drop models of ingredients onto a sauce-pan it activates a sound effect. If theres any other way of achieving this, suggestions are very much welcome, and any form of help would be much appreciated.
Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220613082548im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RigidBody and Box collider Question 4 Answers
Fire hose - Dragging Issue 2 Answers
Need Help! 0 Answers
How to build a XZ only rigidbody drag function in local space? 1 Answer
Instantiated prefab changes gravitational speed when dragged? 0 Answers