2 rolling die throw

sefiroths
Posts: 21
Joined: Thu Nov 11, 2010 1:45 pm

2 rolling die throw

Post by sefiroths »

i'd like to implement something like this:

http://gizmodo.com/5023627/iphone-dice- ... nd-physics

i have seen in the manual that it is recommended that all rigid bodies would have 10cm min length.
i'd like to simulate a die (box of 1cm x 1cm x 1cm).
can i make it with real dimension or i have to decuplicate forces applied on the boxes?
thanks
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: 2 rolling die throw

Post by Erwin Coumans »

There are several dice simulators on iPhone using Bullet.

Instead of using a 1cm cube, you can try using larger physics shapes and tune the gravity/timestep/substeps to make things look realistic.

Thanks,
Erwin