Actually its in 2d! The game cheats the by storing the height of the dice and handles those physics separately and moves up the die up to make it look like its in the air
To be fair its not really that simple unless you know a bit about how games are made. The basic concept is the game uses a completly 2d physics engine and just fakes vertical height with the shadow which makes it look like its in the air