Collision Sound framework


There are two main scripts you'll need to pay attention to: NVRCollisionSoundController and NVRCollisionSoundObject. Put NVRCollisionSoundController on a gameobject that you'd like to hold the sound pool (generally just an empty object). Then put NVRCollisionSoundObject on any object you'd like to make a sound when hit. If you have a cube that you drop onto the floor you'll need to add the script to both the cube and the floor. For an example of all this, see the NewtonVR example scene.