This is another experiment with my gear system. This time you can make your own setup. It’s still very much a work in progress, but I’m learning how to do collision detection which has been fun. The really hard part has been getting it fast enough to run in a browser and to get the physics to look believable. Funny stuff still happens when you put one gear on top of another one, but they move in beautiful ways already.

2 COMMENTS
ALec
March 11, 2011
ad

Do the gears push each other way? I mean, does the physics allow the gears’ centers to move away from where I dragged them?

March 11, 2011
ad

Yes, the centers push away from each other if the gears touch. The benefit is that gears that sit on top of each other move into a more reasonable configuration. The downside is that this causes some configurations to push apart and stop turning.

Post a comment

*