slot machine physics

D77bd3e54cfa808498b2412cb8223ec4
0
coolgroupsdotcom 101 Sep 07, 2005 at 18:59

Does anyone have any ideas for programming the physics of the reels spinning on a 3d slot machine? Basically, I need a function that produces an angle of rotation given the current time. Eventually, the angle of rotation needs to end up at a multiple of 45 degrees (because I have 8 items on each reel and I want them to be aligned right when the spin is thru).

mike
http://www.coolgroups.com/

1 Reply

Please log in or register to post a reply.

820ce9018b365a6aeba6e23847f17eda
0
geon 101 Sep 07, 2005 at 22:27

I would just make a blurry mess with a “whirr” sound that is switched to a slightly wobbling symbol in a “pling” sound effect. If it sounds like moving you can get away with quite simple graphics. Really.

equation for wobble:
Final = SymbolRotation + (t - t*t)*WobbleSize
where 0<=t<=1