Im trying to find an efficient way to simulate cogs and belts in Havok.
Obviously Im not going to make the individual teeth of each cog collide so what I need is a way to constraint an object to rotate in the opposite direction as another one.
Ideally the final solution would allow a parameter (positive or negative) that defines the amount of rotation of one object relative to the other one so I can create gear ratios. Of course forces need to be propagated through the cogs and the proper power/speed ratio transferred. A bit like what the pulley constraint does for translations.
There is no way I can think of to achieve this with the constraint kit. Ive considered several other schemes but I couldnt find one that would work.
Does anybody have any clue on how this could be done?