🎲 bevy_dice
Physics-based dice rolls for bevy. This is a work in progress. You can you this plugin to build tabletop games.
Dice rolls are performed in a physical space, rendered to a image handle which you can display in your UI when dice rolls are needed. Results are emmited as events, so you can listen for them and perform actions based on the result.
Dependencies
| Name | Version |
|---|---|
| bevy | 0.10.1 |
| bevy_rapier3d | 0.21.0 |
Usage
See examples/roll.rs
Dice 3D Model
Model Information:
- title: Dice
- source: https://sketchfab.com/3d-models/dice-3b955af797e140eca0947ede57f412ba
- author: tnRaro (https://sketchfab.com/tnRaro)
Model License:
- license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
- requirements: Author must be credited. Commercial use is allowed.
If you use this 3D model in your project be sure to copy paste this credit wherever you share it: This work is based on "Dice" (https://sketchfab.com/3d-models/dice-3b955af797e140eca0947ede57f412ba) by tnRaro (https://sketchfab.com/tnRaro) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)