Reading Results (Top Face)¶
World physics rolls typically determine the top face by checking marker alignment with world up:
dot(marker.up, Vector3.up)- pick the marker with the largest dot value
This works even if the die is slightly tilted.
Why a confirm window matters¶
Sometimes the die slows down enough to look stable, but then makes a tiny final move. To avoid reading too early:
- require the die to be slow for a short time
- then require the top face to remain the same for N FixedUpdate frames
This eliminates the “9 dice correct, 1 dice wrong” edge case.