Any idea about gear constraint in PhysX 2.8??

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.
i.e
if ratio=2
gear1 5 rounds,gear2 should be 10 rounds,but our solution can’t guarantied this.

Any idea will be greatly appreciated!

I thought there was a gear constraint in 2.8.x, but I can’t recall specifically. I’ll have a look.
–Mike