Dice + Scoreboard

Hi community!

Video:

Demo: https://codepen.io/prisoner849/full/gbrXGRv

Time to time, people ask about how to get numbers on dice. Here is my attempt: the using of sleep event (cannon-es) and comparison of 6 dice’s side normals against a vertical vector (dot-product).

8 Likes

very neat and great work as always!

on the third roll one landed stuck on an edge and counted as a 5…

1 Like