There’re various kinds gear in our mechanical sim.
if we use many boxs to simulate gear,it is unstable and has size limit(because “skinwidth”).
so far,our solution like this:
gear1 connected with holder1 in RevoluteJoint as joint1
gear2 connected with holder2 in RevoluteJoint as joint2
set joint2.motordesc.velTarget= joint1’s Velocity * ratio
Problems in this way is the number of rounds are not guarantied.
gear1 5 rounds,gear2 should be 10 rounds,but our solution can’t guarantied this.
Any idea will be greatly appreciated!