Maybe these examples will help you
From the Collection of examples from discourse.threejs.org :
RobotSimulation
UpdateObjectPositioning
DynamicTubeGeometryCaps
Pino
CustomCylinderAndKnee
CustomCylinderAndSphereKnee
2021 eXtended eXamples see ModelAnimation - @author LA21 + Mugen87