Cage Bingo Thing

I recently did a svn update and started playing with a new project... The company I work for has a lot of dealings with Bingo... For a while I wanted to make a bingo ball blower simulator, but for Christmas I got a bingo set with a cage that changed the direction I thought about this thing. This is just a cage wheel with 75 'balls' in it. Turn the cage to shuffle the balls.

Can I have some input on reasonable values for gravity, densities and friction?

Bingo balls are very light - like ping-pong balls.

I dunno, in reality you'd have to spin a cage very very fast to get the balls to be locked to the outside do to centrifugal force... but this doesn't have to spin all that fast to end up with the same state...

I've turned the gravity way up, but it seems if you click on the 'cage' and spin it just fast enough, that the balls get stuck to the outside, and even end up with a velocity greater than the rate the cage spins.



I dunno, is there a 'stickiness' that keeps the balls attached to the side?

Eventually I should add some small paddles on the inside that can cause more stiring effect... and don't have a complete solution on how to get one of the balls to come out. I thought about making a trapdoor sort of thing that if I reverse the direction of the spin, can scoop a ball, and a mechanism to catch it ... but then how to reset the whole thing...
It sounds like the objects sticking to the sides problem could be because of a low restitution value, making the balls not very bouncy. It doesn't look like you are setting a restitution, and I believe the default is zero, so that makes your ping-pong balls have zero bounciness. You may want your cage restitution above zero as well. Also, you seem to have quite a range of density, which you must keep in mind is actual density based on surface area, and not weight. So different objects should probably not have as big a difference as 0.1 to 40.0 in most situations. Hope this helps!

EDIT: Oh and I forgot to mention, your friction values are really high! They are usually about 0.1-0.2 I think.
Okay thank you for the input - restitution definatly helped the characteristics.

I dunno it's still like gravity doesn't have as much effect as I should think. I'm sure it's mathematically correct in behavior, just maybe my scale is off?

I saw a discussion about what default units might be for 2.0... what sort of unit is it now...
if I specify the gravity as (0, -100) how does that relate to my cage being 30.0 radius?
What is the radius of a real ping pong ball in meters? What is the radius of your circles?

Use this for the magnitude of gravity:
gravity = (circle_radius / ping_pong_radius) * 9.8
oooh oooh I know *waves hand* A ping pong ball used to be 38cm, but for professional table tennis play they changed it to 40cm a few years ago, so I guess it depends on how old they are.

Sorry I'm a complete table tennis nut and I couldn't resist because no one ever asks me about table tennis 😢

Original thread: https://box2d.org/forum/viewtopic.php?t=273