How do I fix the gear I made?
Hi @Liao_Verton,
that’s an interesting space! Here are some questions:
- could you provide us a share - link of your space so we can take a look at it?
- what are you trying to achieve with your gears? Based on the code you showed, do you want to simulate the turning of gears?
Thank you for your reply.
I want to use a gear to drive another gear.
share - link
Hi @Liao_Verton,
I’ve looked through your space, and here are some tips for achieving your gear demo:
- make sure that
gear
items have 0 friction - make sure that all
cylinder
items have 0 friction - the
restrict
blocks can be placed after another because they are just setting properties. (so you do not need arun parallel
block for them). You should also restrictmovement
Below is an example with all 3 tips combined:
Example code
Code in action
Also keep in mind that I raised the gear-tips slightly, so they do not collide with the ground:
Show item adjustment example
Hope that helps! Your gear-demo can be used in a lot of interesting ways. For example, you can turn one gear into a motor by applying constant force!
2 Likes
The effect is very good, thank you!!