Talk:Brain Gallery/@comment-24813804-20140414005007/@comment-24475768-20140414103446

I don't really understand what you mean by "gears in holders".

But if you simply want to have a gear mechanism, with gears that turn when the drawbridge opens/close, you can use the variables I have defined to make the bridge rotate, to know when and at which speed you have to rotate the gears. So that would look like:

When [in-world picker->bridge] [turning] DO [forward] [equals] [vector rotate] [forward] [in-world picker->bridge] [turning speed] [multiplied by] [speed factor] [axis] [up] (or [down] to go in the opposite direction)

"speed factor" is a number to change the speed at which the gear turns (because you probably want your gears to turn faster than the drawbridge). Also, if you have several gears that areturning at different speed (eg because they're of different sizes), you should use one logic cube to store that kode, and put in the gears:

WHEN [once] DO [number variable->speed factor] [equals] [some value depending on your gear]

(child) WHEN DO [push brain] [in-world picker->logic cube]

That way, you don't copy paste any kode.

I hope I understood your question well, if not, explain in a clearer manner.