Hey everyone, I am currentl working on cutom scaling the femur of the Squat model from the AMMR. I already went through the AnyBody tutorial and so far everything worked out quite well. But no I want to include the Custom Scaling function and the mirrored one into the model and for some reason during the kinematic and inverse analysis the left knee bends in the wrong direction like this:
I found out i can fix this when I chang the ScaleMat of the Scaling function to ScaleMat = {{1,0,0},{0,1,0},{0,0,-1}}; but then the femur is in the wrong orientation like this:
This can unfortunately happen since the knee angle is driven indirectly in the model. I can suggest you a couple of options to solve the problem:
Try changing the load time posture of the mannequin and see if it helps. It may just put the solver on right track.
If this doesn't work, you can use the range of motion class template to add joint limits on the knee joint. You may need to set the solver to overdeterminate type as well for the class template to work.
Hey Dave,
I fixed the Problem. Apparently, since I use the AnyBody version 7.3 there were older tutorials listed under the help button, in which in the initial Scaling Function the TSeg2ScaleFrame was not used but it was used in the mirrored function. In the newer tutorials (from 2025) they fixed that.