I'm not sure there is a made example. The number is easy to get. Use a second skin with 6 colors, color point up is == to the rolled number. The dice I'd give over to the physics engine instead of coding it. And for that I can strongly say 3run is the physics king!!


There are about 5 or so others ways to determine which side is facing up.
Used vertex numbers of the model
use the models pan/tile/roll numbers
use a color skin
I can think up many. But I've no idea the best or fastest.