When dragging a Door open using RIGIDBODYSCRIPT Plays sound.

Using the DragRigidBody script from the Dynamic Shadows Demo. Doors open/close perfectly fine. Curious how i could make it so when the player clicks and drags to open a door it plays a sound?

Hello, you can have an event happen when the player clicks on the door with

Javascript:

function OnMouseDown () {
    //Audio Code Here
}

C#:

void OnMouseDown() {
    //Audio Code Here
}

Hope this helps.