On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

The game worked fine but I didn't see any monsters. Also, I didn't make a game like this but I just wanted to know, how did you go about figuring out which side the dice landed on? I'm thinking multiple raycasts?

Hey! That's super weird that you didn't see any monsters, we didn't run in to that bug specifically. As far as the dice, it's actually a much cruder option imo. I added collision detection on all of the numbers on the d20 to check if it was grounded, and each number has a value corresponding to the number on the opposite side. If that number was grounded it would return the value of the face up side. Very simple hacky way of doing it but it works.