Backgammon dice animation

Hello friends, I want to create realistic, Dynamic rolling dice animation for backgammon game. And i don’t have any idea how to do that. Please throw some ideas if anybody knows how to.

I played this game before and it has a very good dice roll animation.
https://playcanvas.com/project/342154/overview/monopoly

And the code to spin dice is in this JavaScript file as spinDice() function. The function adds initial random torque and force to roll the dice which is a rigidbody. Forking the project and check the code, model and material would be a great exercise.
https://playcanvas.com/editor/code/342154/Dice.js

2 Likes