Travis East’s GearTrain calculates the angular velocity of the final driven gear in a gear chain. The user enters the revolutions per minute and direction of the first driver gear along with information about the number of teeth of each gear in the series. The program will output the RPM and direction of the final driven gear in the gear train. The program can also calculate the linear velocity using a variety of metric and standard units. It was designed as a tool for educators and students wishing to learn or check calculations for a gear chain in a Technology Education or Robotics program.
I was wondering if an expert can help a rookie here. I have created a gear from Cheetah3d and imported the mesh to Unity is an obj file. I am trying to create a system in Unity where one gear will turn the other. This has proved to be much harder than I thought. I have followed many tutorials from this website + the net but I cannot get over this obstacle. Whatever I try, the gear just passes through the other gear as if it is not there. I have uploaded a scene file if anyone is generous enough to help I would greatly appreciate it.
Hi guys, I have the same trouble, physics do not work because of the needs of the kinetics or convex colliders (It is not an option for gears) so I tried with a script that calculates the output ratios as a function of number of teeth from each gear, and multiply this by the speed of the input.
this for planetary gears I made.
But Unity can not accurately calculate ratios like “2.3333333”
An example :
gear#1=14 teeth
gear#2=6 teeth
Ratio = 14/6
ratio=2.333333333infinitum
input speed =5 RPM
output speed =11.666666667 RPM
But as far as continue the second gear go through the other:rage:and its quite maddening.
By the way, I’m using variables as floats, but these seem to have a limit of decimals.
but change the number of teeth for some more “square”… it makes no difference, in this case i used:
92 for the ring
52 for the sun and
20 for the planets
so i tried and the trouble still coming:rage:
this is why…
the ratio in this case is determined by the circumstances
Input is the sun stationary is the carrier output is the ring
so the output ratio is : -52/92 = *-0,5652173913043478____
and the planet ratio is -52/20 = __-2,6*__
get an speed for the sun like 45 RPM
and the speed on the ring will be *-25,43478260869565 RPM____
and the speed for each planes will be __-117 RPM*__
Unity just cant calculate those decimals.
and even imagine if the speed of the input was a float:eyes:
Is there any way to correct this?
How to obtain more accurate calculations?
have any ideas?