Hi There, I have created a large cube 2000x2000 across the mountain tops of a terrain so that when a Player reaches the cube it triggers the sound of a howling wind. Nice eh, but it doesn’t work because it is a 3d sound and the Player is too far from the source.
My question is, how can I make the sound audible anywhere in the cube? Here is the code I am using on the cube…The audio source is also on the cube. BTW, the code works fine and is audible on a small 1x1x1 cube.
function OnTriggerEnter(otherObj: Collider){
if (otherObj.tag == "Player"){
audio.Play();
}
}
function OnTriggerExit(otherObj: Collider){
if (otherObj.tag == "Player"){
audio.Stop();
}
}