3d-dice/dice-box

Callback on Dice Collission

Opened this issue · 2 comments

I really want to add a new feature to add Audio to my dice rolls. All I would really need for that is an onDiceCollision callback that I can play a short audio cue every time the dice hits a wall or the floor

...or another dice.

Doesn't the diceBox.onCollision callback do that?