math & physics
coolgroupsdotcom at September 7th, 2005 14:59 — #1
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).
geon at September 7th, 2005 18:27 — #2
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