Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Currently, when 3D dice are rolled via API, their results are not retained and the API just rerolls them in the background. Being able to use the API at the same time as 3D dice without worrying about what I actually rolled would be awesome.
I think I would rather be able to show a fake 3d dice from
the API that rolls like a normal one but shows a number specified in the
function call, letting you use the already available roll functions but represented
as 3d dice on the table.
The problem with that is the 3D dice are rolled with a physics engine, so telling it to roll a specific number would probably be a lot harder than just getting the number it rolled. The ideal solution would be to modify the current methods to take 3D dice into account so if they're used, the method waits to collect the result, and if they're not used then they roll like they do now.
Well, technically, you could run the physics simulation, then set the faces such that the correct number is showing at the end, then play the physics simulation back for display. (That's how we'd do it in the video game industry. =D)
In <a href="https://app.roll20.net/forum/post/2220114/client-side-3d-dice-dont-show-in-api-commands/?pageforid=2223514#post-2223514" rel="nofollow">https://app.roll20.net/forum/post/2220114/client-side-3d-dice-dont-show-in-api-commands/?pageforid=2223514#post-2223514</a> , Riley suggested to provide the API with some "3D Dice replay" method, so that when the API rolls a dice, it has the option to show the corresponding 3D roll. I think that would solve the issue nicely.
Do we have any news on the 3D dice rolls? I've read somewhere that major changes were under development, but I can't find any first-hand source for that.
+1 seeing the dice roll clearly is one of the exciting things on a table, and i strongly hope we can combine this with the advantages of a vtt in near future eg. store it for API usage...
Showing the dices roll when players or DM make an attack will give more immersion into the game and will make roll20 a great apply +1 Seeing the dice !