Comments (2)
Hey @matthewfee. I've seen this done on unity programs before, but I'm not versed well enough in physics programming to force a specific die face up based on a pre-determined number and have it look natural at the same time. The physics themselves are already quite random and the dice start with a random rotation on all 3 axis at creation.
from dice-box.
Ok, cool, that makes sense. Yes, it definitely seems really random with the physics, moreso than the default random in Javascript.
from dice-box.
Related Issues (20)
- Mobile support for 3d simulation suspended. HOT 3
- Error after resizing HOT 1
- Dice canvas is small and in the top-left corner HOT 4
- Highlight Crits HOT 1
- d100 rolls (00-99) HOT 12
- 3D models to create themes HOT 1
- Define theme/themeColor for a specific dice. HOT 3
- Typescript support and @types HOT 1
- Simulate a dice tower?
- Unfortunately we couldn't use this for our Ludum Dare. Here's why HOT 1
- Fails to import module jbCGoMdf.js on init
- Multi-colored dice? HOT 2
- wasm streaming compile failed HOT 2
- Occasional colliderFaceMap Errors HOT 1
- Repeated updateConfig causes "velocity" change HOT 8
- Loading assets from the filesystem directly? HOT 3
- Have a d6 with values from 0 to 5 HOT 1
- Missing theme.config.json for default theme HOT 6
- New setup challenges, improve docs, swipe-to-roll possible? HOT 2
- 3d files for smooth dice HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dice-box.